From 6642d4a4f429c1fc0093935eca232e3f0867ad64 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 20 Jun 2023 19:50:11 +0200 Subject: [PATCH] =?UTF-8?q?Use=20=E2=87=A7=20instead=20of=20Shift=20in=20h?= =?UTF-8?q?elp=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- umap/static/umap/js/umap.controls.js | 2 +- umap/static/umap/js/umap.features.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 766c1611..56a23738 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -172,7 +172,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 (⇧+Click)'), }, }, diff --git a/umap/static/umap/js/umap.features.js b/umap/static/umap/js/umap.features.js index e9dc3997..8862ab66 100644 --- a/umap/static/umap/js/umap.features.js +++ b/umap/static/umap/js/umap.features.js @@ -393,7 +393,7 @@ L.U.FeatureMixin = { let items = ['-'] if (this.map.editedFeature !== this) { items.push({ - text: L._('Edit this feature') + ' (Shift-click)', + text: L._('Edit this feature') + ' (⇧-click)', callback: this.edit, context: this, iconCls: 'umap-edit', @@ -401,7 +401,7 @@ L.U.FeatureMixin = { } items = items.concat( { - text: L._("Edit feature's layer") + ' (Ctrl-Shift-click)', + text: L._("Edit feature's layer") + ' (Ctrl-⇧-click)', callback: this.datalayer.edit, context: this.datalayer, iconCls: 'umap-edit',