Merge pull request #7829 from manfredbrandl/help-edit-menu

Help edit menu
This commit is contained in:
Quincy Morgan
2020-09-24 15:20:55 -04:00
committed by GitHub
3 changed files with 21 additions and 0 deletions
+8
View File
@@ -1463,6 +1463,14 @@ en:
boundary_h: "Boundaries"
boundary: "A *boundary* relation is a group of one or more line features that together form an administrative boundary."
boundary_add: "To add a feature to a boundary relation, select the feature and scroll down to the \"{relations}\" section of the feature editor, then press the {plus} add button to add this feature to a nearby existing relation or a new relation."
edit_menu:
title: Edit Menu
intro: "{rightclick} Right-click or {longpress_icon} long-press a feature will display the edit menu. The commands shown are context-specific and some are explained here."
edit_menu_h: "Advanced Commands from Edit Menu"
command_reverse: "The {reverse_icon} **{reverse}** command will change the direction of lines like oneway streets or cliffs where the top is one the left and the bottom on the right side."
command_disconnect: "The {disconnect_icon} **{disconnect}** command separates a connected point into independent points which can be separated from each other."
command_merge: "The {merge_icon} **{merge}** command create a single object from all selected objects, the type of the object depends on the selected objects. From two or more selected ares a new multipolygon relation will be created, two selected lines will become a single line. From a selected point and a selected line or area the point will be integrated into the line or area while keeping the tags."
command_extract: "The {extract_icon} **{extract}** command seperates a point from a line or an area, so you can seperate a POI which is part of a building."
notes:
title: Notes
intro: "*Notes* are used to alert other users that a feature requires fixing or attention. Notes mark a specific location on the map. To view existing notes or add new ones, open the {data_icon} **{map_data}** panel and enable the {osm_notes} layer."
+4
View File
@@ -63,6 +63,8 @@ export function helpHtml(id, replacements) {
circularize_icon: icon('#iD-operation-circularize', 'inline operation'),
split_icon: icon('#iD-operation-split', 'inline operation'),
orthogonalize_icon: icon('#iD-operation-orthogonalize', 'inline operation'),
reverse_icon: icon('#iD-operation-reverse', 'inline operation'),
extract_icon: icon('#iD-operation-extract', 'inline operation'),
disconnect_icon: icon('#iD-operation-disconnect', 'inline operation'),
layers_icon: icon('#iD-icon-layers', 'inline'),
data_icon: icon('#iD-icon-data', 'inline'),
@@ -102,6 +104,8 @@ export function helpHtml(id, replacements) {
delete: t.html('operations.delete.title'),
move: t.html('operations.move.title'),
orthogonalize: t.html('operations.orthogonalize.title'),
extract: t.html('operations.extract.title'),
disconnect: t.html('operations.disconnect.title'),
circularize: t.html('operations.circularize.title'),
merge: t.html('operations.merge.title'),
disconnect: t.html('operations.disconnect.title'),
+9
View File
@@ -144,6 +144,14 @@ export function uiPaneHelp(context) {
'boundary',
'boundary_add'
]],
['edit_menu', [
'intro',
'edit_menu_h',
'command_reverse',
'command_disconnect',
'command_merge',
'command_extract'
]],
['notes', [
'intro',
'add_note_h',
@@ -225,6 +233,7 @@ export function uiPaneHelp(context) {
'help.relations.turn_restriction_h': 3,
'help.relations.route_h': 3,
'help.relations.boundary_h': 3,
'help.edit_menu.edit_menu_h': 3,
'help.notes.add_note_h': 3,
'help.notes.update_note_h': 3,
'help.notes.save_note_h': 3,