Removed unused strings and rename string ids to not indicate ways only (re: #6843)

This commit is contained in:
Quincy Morgan
2019-10-07 11:02:07 +02:00
parent f4f648bb8a
commit 5abdd4c813
4 changed files with 11 additions and 9 deletions
+2 -4
View File
@@ -612,9 +612,7 @@ en:
title: Custom Map Data
zoom: Zoom to data
fill_area: Fill Areas
highlight_way_edits:
description: Highlight edited nodes and segments attached to those nodes in ways
tooltip: Highlight unsaved edits.
highlight_edits:
key: G
map_features: Map Features
autohidden: "These features have been automatically hidden because too many would be shown on the screen. You can zoom in to edit them."
@@ -1889,7 +1887,7 @@ en:
wireframe: "Toggle wireframe mode"
osm_data: "Toggle OpenStreetMap data"
minimap: "Toggle minimap"
highlight_way_edits: "Highlight unsaved edits"
highlight_edits: "Highlight unsaved edits"
selecting:
title: "Selecting features"
select_one: "Select a single feature"
+3 -3
View File
@@ -82,10 +82,10 @@
{
"shortcuts": ["background.minimap.key"],
"text": "shortcuts.browsing.display_options.minimap"
},
},
{
"shortcuts": ["map_data.highlight_way_edits.key"],
"text": "shortcuts.browsing.display_options.highlight_way_edits"
"shortcuts": ["map_data.highlight_edits.key"],
"text": "shortcuts.browsing.display_options.highlight_edits"
}
]
},
+5 -1
View File
@@ -758,6 +758,9 @@
}
},
"fill_area": "Fill Areas",
"highlight_edits": {
"key": "G"
},
"map_features": "Map Features",
"autohidden": "These features have been automatically hidden because too many would be shown on the screen. You can zoom in to edit them.",
"osmhidden": "These features have been automatically hidden because the OpenStreetMap layer is hidden."
@@ -2310,7 +2313,8 @@
"sidebar": "Toggle sidebar",
"wireframe": "Toggle wireframe mode",
"osm_data": "Toggle OpenStreetMap data",
"minimap": "Toggle minimap"
"minimap": "Toggle minimap",
"highlight_edits": "Highlight unsaved edits"
},
"selecting": {
"title": "Selecting features",
+1 -1
View File
@@ -889,7 +889,7 @@ export function uiMapData(context) {
d3_event.stopPropagation();
toggleLayer('osm');
})
.on(t('map_data.highlight_way_edits.key'), toggleHighlightEdited);
.on(t('map_data.highlight_edits.key'), toggleHighlightEdited);
};
return uiMapData;