diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index e305f780..7a5285d7 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -200,7 +200,7 @@ L.U.ToggleEditAction = L.U.BaseFeatureAction.extend({ options: { toolbarIcon: { className: 'umap-toggle-edit', - tooltip: L._('Toggle edit mode (shift-click)') + tooltip: L._('Toggle edit mode (Shift+Click)') } }, @@ -274,7 +274,7 @@ L.U.DeleteVertexAction = L.U.BaseVertexAction.extend({ options: { toolbarIcon: { className: 'umap-delete-vertex', - tooltip: L._('Delete this vertex (Alt-click)') + tooltip: L._('Delete this vertex (Alt+Click)') } }, @@ -363,7 +363,7 @@ L.U.EditControl = L.Control.extend({ var container = L.DomUtil.create('div', 'leaflet-control-edit-enable umap-control'), edit = L.DomUtil.create('a', '', container); edit.href = '#'; - edit.title = L._('Enable editing') + ' (Ctrl-E)'; + edit.title = L._('Enable editing') + ' (Ctrl+E)'; L.DomEvent .addListener(edit, 'click', L.DomEvent.stop) diff --git a/umap/static/umap/js/umap.features.js b/umap/static/umap/js/umap.features.js index 26aca0a6..8e46db01 100644 --- a/umap/static/umap/js/umap.features.js +++ b/umap/static/umap/js/umap.features.js @@ -877,7 +877,7 @@ L.U.Polyline = L.Polyline.extend({ }); } else if (index === 0 || index === e.vertex.getLastIndex()) { items.push({ - text: L._('Continue line (Ctrl-click)'), + text: L._('Continue line (Ctrl+Click)'), callback: e.vertex.continue, context: e.vertex.continue }); diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js index 1a040c16..09263f61 100644 --- a/umap/static/umap/js/umap.js +++ b/umap/static/umap/js/umap.js @@ -1443,7 +1443,7 @@ L.U.Map.include({ this.help.button(title, 'edit'); var save = L.DomUtil.create('a', 'leaflet-control-edit-save button', container); save.href = '#'; - save.title = L._('Save current edits') + ' (Ctrl-S)'; + save.title = L._('Save current edits') + ' (Ctrl+S)'; save.textContent = L._('Save'); var cancel = L.DomUtil.create('a', 'leaflet-control-edit-cancel button', container); cancel.href = '#'; @@ -1567,7 +1567,7 @@ L.U.Map.include({ if (this.options.enableMarkerDraw) { items.push( { - text: L._('Draw a marker') + ' (Ctrl-M)', + text: L._('Draw a marker') + ' (Ctrl+M)', callback: this.startMarker, context: this }); @@ -1575,7 +1575,7 @@ L.U.Map.include({ if (this.options.enablePolylineDraw) { items.push( { - text: L._('Draw a polygon') + ' (Ctrl-P)', + text: L._('Draw a polygon') + ' (Ctrl+P)', callback: this.startPolygon, context: this }); @@ -1583,7 +1583,7 @@ L.U.Map.include({ if (this.options.enablePolygonDraw) { items.push( { - text: L._('Draw a line') + ' (Ctrl-L)', + text: L._('Draw a line') + ' (Ctrl+L)', callback: this.startPolyline, context: this });