Add en translation strings for Load no-gos (#161)
This commit is contained in:
parent
68823fefb5
commit
b8100719ca
2 changed files with 20 additions and 5 deletions
10
index.html
10
index.html
|
|
@ -56,7 +56,7 @@
|
||||||
<span data-i18n="navbar.load.title">Load</span>
|
<span data-i18n="navbar.load.title">Load</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
<a class="dropdown-item" data-i18n="navbar.load.nogos" data-toggle="modal" data-target="#loadNogos" href="#">Nogos</a>
|
<a class="dropdown-item" data-i18n="navbar.load.nogos" data-toggle="modal" data-target="#loadNogos" href="#">No-go areas</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="nav-item">
|
<div class="nav-item">
|
||||||
|
|
@ -209,7 +209,7 @@
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
<h4 class="modal-title" data-i18n="loadNogos.title">Load nogos</h4>
|
<h4 class="modal-title" data-i18n="loadNogos.title">Load no-go areas</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p id="nogoError" style="display: none;"></p>
|
<p id="nogoError" style="display: none;"></p>
|
||||||
|
|
@ -227,15 +227,15 @@
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend data-i18n="loadNogos.defaultProperties">Default properties</legend>
|
<legend data-i18n="loadNogos.defaultProperties">Default properties</legend>
|
||||||
<p>
|
<p>
|
||||||
<label for="nogoWeight" data-i18n="loadNogos.nogoWeight">Nogo weight: </label>
|
<label for="nogoWeight" data-i18n="loadNogos.nogoWeight">No-go weight: </label>
|
||||||
<input type="number" name="nogoWeight" id="nogoWeight" value="-1" />
|
<input type="number" name="nogoWeight" id="nogoWeight" value="-1" />
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<label for="nogoRadius" data-i18n="loadNogos.nogoRadius">Nogo radius (for points): </label>
|
<label for="nogoRadius" data-i18n="loadNogos.nogoRadius">No-go radius (for points): </label>
|
||||||
<input type="number" name="nogoRadius" id="nogoRadius" value="20" />
|
<input type="number" name="nogoRadius" id="nogoRadius" value="20" />
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<label for="nogoBuffer" data-i18n="loadNogos.nogoBuffer">Buffer nogos areas (in meters): </label>
|
<label for="nogoBuffer" data-i18n="loadNogos.nogoBuffer">Buffer no-go areas (in meters): </label>
|
||||||
<input type="number" name="nogoBuffer" id="nogoBuffer" value="0" />
|
<input type="number" name="nogoBuffer" id="nogoBuffer" value="0" />
|
||||||
</p>
|
</p>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,17 @@
|
||||||
"placeholder-layer-url": "Custom layer URL. (ex: https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png)",
|
"placeholder-layer-url": "Custom layer URL. (ex: https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png)",
|
||||||
"remove-selection": "Remove selection"
|
"remove-selection": "Remove selection"
|
||||||
},
|
},
|
||||||
|
"loadNogos": {
|
||||||
|
"defaultProperties": "Default properties",
|
||||||
|
"file": "File: ",
|
||||||
|
"load": "Load",
|
||||||
|
"nogoBuffer": "Buffer no-go areas (in meters): ",
|
||||||
|
"nogoRadius": "No-go radius (for points): ",
|
||||||
|
"nogoWeight": "No-go weight: ",
|
||||||
|
"source": "Source",
|
||||||
|
"title": "Load no-go areas",
|
||||||
|
"url": "URL: "
|
||||||
|
},
|
||||||
"map": {
|
"map": {
|
||||||
"attribution-osm-long": "OpenStreetMap contributors",
|
"attribution-osm-long": "OpenStreetMap contributors",
|
||||||
"attribution-osm-short": "OpenStreetMap",
|
"attribution-osm-short": "OpenStreetMap",
|
||||||
|
|
@ -108,6 +119,10 @@
|
||||||
"kml": "KML",
|
"kml": "KML",
|
||||||
"title": "Download"
|
"title": "Download"
|
||||||
},
|
},
|
||||||
|
"load": {
|
||||||
|
"nogos": "No-go areas",
|
||||||
|
"title": "Load"
|
||||||
|
},
|
||||||
"profile": {
|
"profile": {
|
||||||
"car-eco": "Car (economic)",
|
"car-eco": "Car (economic)",
|
||||||
"car-fast": "Car (fast)",
|
"car-fast": "Car (fast)",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue