Fix duplicate i18n keys and update locale (#735)
This commit is contained in:
parent
dd7cd574b1
commit
587b4b83a5
2 changed files with 42 additions and 5 deletions
12
index.html
12
index.html
|
|
@ -472,19 +472,21 @@
|
|||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-undo">
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-locate">
|
||||
Center current position (geolocation)
|
||||
</div>
|
||||
<div class="keyboard-shortcuts-key"><kbd>l</kbd></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-undo">
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-search">
|
||||
Search for locations
|
||||
</div>
|
||||
<div class="keyboard-shortcuts-key"><kbd>f</kbd></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-undo">Reverse route</div>
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-reverse">
|
||||
Reverse route
|
||||
</div>
|
||||
<div class="keyboard-shortcuts-key"><kbd>r</kbd></div>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -534,7 +536,7 @@
|
|||
<div class="keyboard-shortcuts-key"><kbd>x</kbd></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="keyboard-shortcuts-share" data-i18n="help.shortcut-share">Share route</div>
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-share">Share route</div>
|
||||
<div class="keyboard-shortcuts-key"><kbd>a</kbd></div>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -586,7 +588,7 @@
|
|||
<div class="keyboard-shortcuts-key"><kbd>Shift</kbd> <kbd>click</kbd></div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="keyboard-shortcuts-help" data-i18n="help.shortcut-help-dialog">
|
||||
<div class="keyboard-shortcuts-desc" data-i18n="help.shortcut-help-dialog">
|
||||
Open this help dialog
|
||||
</div>
|
||||
<div class="keyboard-shortcuts-key"><kbd>?</kbd></div>
|
||||
|
|
|
|||
|
|
@ -65,12 +65,47 @@
|
|||
"total-energy": "Total Energy",
|
||||
"travel-time": "Travel time"
|
||||
},
|
||||
"help": {
|
||||
"keyboard-shortcuts": "Keyboard Shortcuts",
|
||||
"shortcut-about": "Show “About” dialog",
|
||||
"shortcut-add-poi": "Add “Point of Interest” (Esc exits this mode)",
|
||||
"shortcut-allowed-zone": "Draw allowed zone",
|
||||
"shortcut-color-coding": "Cycle through color-coding modes",
|
||||
"shortcut-delete-route": "Delete route",
|
||||
"shortcut-draw": "Enter draw mode",
|
||||
"shortcut-elevation-profile": "Toggle elevation profile",
|
||||
"shortcut-exit-draw": "Exit draw mode or close dialog",
|
||||
"shortcut-export": "Export route",
|
||||
"shortcut-help-dialog": "Open this help dialog",
|
||||
"shortcut-load-track": "Load track",
|
||||
"shortcut-load-track-as-route": "Load track as route",
|
||||
"shortcut-locate": "Center current position (geolocation)",
|
||||
"shortcut-move-map": "Move map",
|
||||
"shortcut-mute-route": "Hide route temporarily (as long as key is down, “mute”)",
|
||||
"shortcut-nogo": "Draw no-go area (Esc exits this mode)",
|
||||
"shortcut-nogo-load": "Load no-go area",
|
||||
"shortcut-profile-select": "Select routing profile",
|
||||
"shortcut-reverse": "Reverse route",
|
||||
"shortcut-search": "Search for locations",
|
||||
"shortcut-share": "Share route",
|
||||
"shortcut-sidebar-switch-tabs": "Cycle through tabs in sidebar",
|
||||
"shortcut-sidebar-toggle": "Toggle sidebar",
|
||||
"shortcut-straight-line-append": "Append straight line (in draw mode)",
|
||||
"shortcut-straight-line-toggle": "Toggle straight line (in draw mode)",
|
||||
"shortcut-strava-layer": "Toggle Strava layer",
|
||||
"shortcut-undo": "Remove last point from route (“undo”)",
|
||||
"shortcut-zoom-map": "Zoom map",
|
||||
"title": "Help"
|
||||
},
|
||||
"keyboard": {
|
||||
"backspace": "Backspace",
|
||||
"escape": "Escape",
|
||||
"generic-shortcut": "{{action}} ({{key}} key)",
|
||||
"shift": "Shift"
|
||||
},
|
||||
"keyboard-shortcuts": {
|
||||
"title": "Help/Keyboard shortcuts"
|
||||
},
|
||||
"layers": {
|
||||
"add-base": "Add base layer",
|
||||
"add-overlay": "Add overlay",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue