mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Finalize keyboard shortcut style, add a few more commands
This commit is contained in:
+41
-27
@@ -560,7 +560,7 @@ en:
|
||||
|
||||
### Using the editor
|
||||
|
||||
A list of available keyboard shortcuts can be found [here](http://wiki.openstreetmap.org/wiki/ID/Shortcuts).
|
||||
You can view a list of keyboard shortcuts by pressing the `?` key.
|
||||
|
||||
roads: |
|
||||
# Roads
|
||||
@@ -1022,25 +1022,37 @@ en:
|
||||
title: "Browsing"
|
||||
navigation:
|
||||
title: "Navigation"
|
||||
pan_map: "Pan map"
|
||||
pan_map_screen: "Pan map by one screenful"
|
||||
pan: "Pan map"
|
||||
pan_more: "Pan map by one screenful"
|
||||
zoom: "Zoom in / Zoom out"
|
||||
zoom_large: "Zoom in / Zoom out by a lot"
|
||||
display:
|
||||
title: "Display"
|
||||
background: "Background settings"
|
||||
background_switch: "Switch back to last background"
|
||||
toggle_minimap: "Toggle minimap"
|
||||
map_data: "Map data settings"
|
||||
wireframe: "Toggle wireframe mode"
|
||||
zoom_more: "Zoom in / Zoom out by a lot"
|
||||
help:
|
||||
title: "Help"
|
||||
help: "Show help/documentation"
|
||||
keyboard: "Show keyboard shortcuts"
|
||||
selected:
|
||||
title: "With selected"
|
||||
toggle_infobox: "Toggle info box"
|
||||
toggle_menu: "Toggle edit menu"
|
||||
display_options:
|
||||
title: "Display options"
|
||||
background: "Show background options"
|
||||
background_switch: "Switch back to last background"
|
||||
map_data: "Show map data options"
|
||||
wireframe: "Toggle wireframe mode"
|
||||
minimap: "Toggle minimap"
|
||||
selecting:
|
||||
title: "Selecting features"
|
||||
select_one: "Select a single feature"
|
||||
select_multi: "Select multiple features"
|
||||
lasso: "Draw a selection lasso around features"
|
||||
with_selected:
|
||||
title: "With feature selected"
|
||||
infobox: "Toggle info / measurement box"
|
||||
edit_menu: "Toggle edit menu"
|
||||
vertex_selected:
|
||||
title: "With node selected"
|
||||
previous: "Jump to previous node"
|
||||
next: "Jump to next node"
|
||||
first: "Jump to first node"
|
||||
last: "Jump to last node"
|
||||
change_parent: "Switch parent way"
|
||||
editing:
|
||||
title: "Editing"
|
||||
drawing:
|
||||
@@ -1049,24 +1061,26 @@ en:
|
||||
add_line: "'Add line' mode"
|
||||
add_area: "'Add area' mode"
|
||||
place_point: "Place a point"
|
||||
stop_line: "Stop drawing of a line or area"
|
||||
disable_snap: "Hold to disable point snapping"
|
||||
stop_line: "Finish drawing a line or area"
|
||||
operations:
|
||||
title: "Operations"
|
||||
continue_line: "Continue a line at the selected node"
|
||||
merge: "Combine (Merge) selected items"
|
||||
merge: "Combine (merge) selected features"
|
||||
disconnect: "Disconnect features at the selected node"
|
||||
split: "Split a line into two at the selected node"
|
||||
move: "Move selected items"
|
||||
rotate: "Rotate selected items"
|
||||
orthogonalize: "Straighten line / Square area corners"
|
||||
circularize: "Circularize an area"
|
||||
reflect_long: "Reflect items across the longer axis"
|
||||
reflect_short: "Reflect items across the shorter axis"
|
||||
reverse: "Reverse a line"
|
||||
edit:
|
||||
title: "Edit"
|
||||
copy: "Copy map features"
|
||||
paste: "Paste map features"
|
||||
move: "Move selected features"
|
||||
rotate: "Rotate selected features"
|
||||
orthogonalize: "Straighten line / Square area corners"
|
||||
circularize: "Circularize a closed line or area"
|
||||
reflect_long: "Reflect features across the longer axis"
|
||||
reflect_short: "Reflect features across the shorter axis"
|
||||
delete: "Delete selected features"
|
||||
commands:
|
||||
title: "Commands"
|
||||
copy: "Copy selected features"
|
||||
paste: "Paste selected features"
|
||||
undo: "Undo last action"
|
||||
redo: "Redo last action"
|
||||
save: "Save changes"
|
||||
|
||||
+73
-29
@@ -10,16 +10,16 @@
|
||||
"text": "shortcuts.browsing.navigation.title"
|
||||
}, {
|
||||
"shortcut": ["↓", "↑", "←", "→"],
|
||||
"text": "shortcuts.browsing.navigation.pan_map"
|
||||
"text": "shortcuts.browsing.navigation.pan"
|
||||
}, {
|
||||
"shortcut": ["⇧↓", "⇧↑", "⇧←", "⇧→"],
|
||||
"text": "shortcuts.browsing.navigation.pan_map_screen"
|
||||
"text": "shortcuts.browsing.navigation.pan_more"
|
||||
}, {
|
||||
"shortcut": ["+", "-"],
|
||||
"text": "shortcuts.browsing.navigation.zoom"
|
||||
}, {
|
||||
"shortcut": ["⌘+", "⌘-"],
|
||||
"text": "shortcuts.browsing.navigation.zoom_large"
|
||||
"text": "shortcuts.browsing.navigation.zoom_more"
|
||||
},
|
||||
|
||||
{
|
||||
@@ -31,40 +31,78 @@
|
||||
}, {
|
||||
"shortcut": ["?"],
|
||||
"text": "shortcuts.browsing.help.keyboard"
|
||||
},
|
||||
|
||||
{
|
||||
"section": "display_options",
|
||||
"text": "shortcuts.browsing.display_options.title"
|
||||
}, {
|
||||
"shortcut": ["B"],
|
||||
"text": "shortcuts.browsing.display_options.background"
|
||||
}, {
|
||||
"shortcut": ["⌘B"],
|
||||
"text": "shortcuts.browsing.display_options.background_switch"
|
||||
}, {
|
||||
"shortcut": ["F"],
|
||||
"text": "shortcuts.browsing.display_options.map_data"
|
||||
}, {
|
||||
"shortcut": ["W"],
|
||||
"text": "shortcuts.browsing.display_options.wireframe"
|
||||
}, {
|
||||
"shortcut": ["/"],
|
||||
"text": "shortcuts.browsing.display_options.minimap"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"rows": [
|
||||
{
|
||||
"section": "display",
|
||||
"text": "shortcuts.browsing.display.title"
|
||||
"section": "selecting",
|
||||
"text": "shortcuts.browsing.selecting.title"
|
||||
}, {
|
||||
"shortcut": ["B"],
|
||||
"text": "shortcuts.browsing.display.background"
|
||||
"shortcut": ["Left-click"],
|
||||
"text": "shortcuts.browsing.selecting.select_one"
|
||||
}, {
|
||||
"shortcut": ["⌘B"],
|
||||
"text": "shortcuts.browsing.display.background_switch"
|
||||
"shortcut": ["⇧ Left-click"],
|
||||
"text": "shortcuts.browsing.selecting.select_multi"
|
||||
}, {
|
||||
"shortcut": ["/"],
|
||||
"text": "shortcuts.browsing.display.toggle_minimap"
|
||||
"shortcut": ["⇧ Left-click + drag"],
|
||||
"text": "shortcuts.browsing.selecting.lasso"
|
||||
}, {
|
||||
"shortcut": ["F"],
|
||||
"text": "shortcuts.browsing.display.map_data"
|
||||
}, {
|
||||
"shortcut": ["W"],
|
||||
"text": "shortcuts.browsing.display.wireframe"
|
||||
"shortcut": [],
|
||||
"text": ""
|
||||
},
|
||||
|
||||
{
|
||||
"section": "selected",
|
||||
"text": "shortcuts.browsing.selected.title"
|
||||
"section": "with_selected",
|
||||
"text": "shortcuts.browsing.with_selected.title"
|
||||
}, {
|
||||
"shortcut": ["⌘I"],
|
||||
"text": "shortcuts.browsing.selected.toggle_infobox"
|
||||
"text": "shortcuts.browsing.with_selected.infobox"
|
||||
}, {
|
||||
"shortcut": ["Space"],
|
||||
"text": "shortcuts.browsing.selected.toggle_menu"
|
||||
"shortcut": ["Right-click", "Space"],
|
||||
"text": "shortcuts.browsing.with_selected.edit_menu"
|
||||
},
|
||||
|
||||
{
|
||||
"section": "vertex_selected",
|
||||
"text": "shortcuts.browsing.vertex_selected.title"
|
||||
}, {
|
||||
"shortcut": ["[", "↖ PgUp"],
|
||||
"text": "shortcuts.browsing.vertex_selected.previous"
|
||||
}, {
|
||||
"shortcut": ["]", "↘ PgDn"],
|
||||
"text": "shortcuts.browsing.vertex_selected.next"
|
||||
}, {
|
||||
"shortcut": ["{", "⇞ Home"],
|
||||
"text": "shortcuts.browsing.vertex_selected.first"
|
||||
}, {
|
||||
"shortcut": ["}", "⇟ End"],
|
||||
"text": "shortcuts.browsing.vertex_selected.last"
|
||||
}, {
|
||||
"shortcut": ["\\", "↨ Pause"],
|
||||
"text": "shortcuts.browsing.vertex_selected.change_parent"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -90,28 +128,31 @@
|
||||
"shortcut": ["Space"],
|
||||
"text": "shortcuts.editing.drawing.place_point"
|
||||
}, {
|
||||
"shortcut": ["↵ Enter", "Esc"],
|
||||
"shortcut": ["⌥ Alt"],
|
||||
"text": "shortcuts.editing.drawing.disable_snap"
|
||||
}, {
|
||||
"shortcut": ["↵ Enter", "⎋ Esc"],
|
||||
"text": "shortcuts.editing.drawing.stop_line"
|
||||
},
|
||||
|
||||
{
|
||||
"section": "edit",
|
||||
"text": "shortcuts.editing.edit.title"
|
||||
"section": "commands",
|
||||
"text": "shortcuts.editing.commands.title"
|
||||
}, {
|
||||
"shortcut": ["⌘C"],
|
||||
"text": "shortcuts.editing.edit.copy"
|
||||
"text": "shortcuts.editing.commands.copy"
|
||||
}, {
|
||||
"shortcut": ["⌘V"],
|
||||
"text": "shortcuts.editing.edit.paste"
|
||||
"text": "shortcuts.editing.commands.paste"
|
||||
}, {
|
||||
"shortcut": ["⌘Z"],
|
||||
"text": "shortcuts.editing.edit.undo"
|
||||
"text": "shortcuts.editing.commands.undo"
|
||||
}, {
|
||||
"shortcut": ["⌘⇧Z"],
|
||||
"text": "shortcuts.editing.edit.redo"
|
||||
"text": "shortcuts.editing.commands.redo"
|
||||
}, {
|
||||
"shortcut": ["⌘S"],
|
||||
"text": "shortcuts.editing.edit.save"
|
||||
"text": "shortcuts.editing.commands.save"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
@@ -152,6 +193,9 @@
|
||||
}, {
|
||||
"shortcut": ["operations.reflect.key.short"],
|
||||
"text": "shortcuts.editing.operations.reflect_short"
|
||||
}, {
|
||||
"shortcut": ["⌘⌫", "⌦"],
|
||||
"text": "shortcuts.editing.operations.delete"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user