Use ⇧ instead of Shift in help messages

This commit is contained in:
Yohan Boniface 2023-06-20 19:50:11 +02:00
parent 58cf784b7e
commit 6642d4a4f4
2 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ L.U.ToggleEditAction = L.U.BaseFeatureAction.extend({
options: { options: {
toolbarIcon: { toolbarIcon: {
className: 'umap-toggle-edit', className: 'umap-toggle-edit',
tooltip: L._('Toggle edit mode (Shift+Click)'), tooltip: L._('Toggle edit mode (+Click)'),
}, },
}, },

View file

@ -393,7 +393,7 @@ L.U.FeatureMixin = {
let items = ['-'] let items = ['-']
if (this.map.editedFeature !== this) { if (this.map.editedFeature !== this) {
items.push({ items.push({
text: L._('Edit this feature') + ' (Shift-click)', text: L._('Edit this feature') + ' (-click)',
callback: this.edit, callback: this.edit,
context: this, context: this,
iconCls: 'umap-edit', iconCls: 'umap-edit',
@ -401,7 +401,7 @@ L.U.FeatureMixin = {
} }
items = items.concat( items = items.concat(
{ {
text: L._("Edit feature's layer") + ' (Ctrl-Shift-click)', text: L._("Edit feature's layer") + ' (Ctrl--click)',
callback: this.datalayer.edit, callback: this.datalayer.edit,
context: this.datalayer, context: this.datalayer,
iconCls: 'umap-edit', iconCls: 'umap-edit',