[Libreoffice-commits] online.git: loleaflet/src

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 28 08:11:40 UTC 2019


 loleaflet/src/control/Control.Menubar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 34f344365efc5212f926efd184478eb0832a0c13
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Nov 28 09:11:15 2019 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Nov 28 09:11:15 2019 +0100

    scripts/unocommands.py expects ascii input
    
    Change-Id: Ie7b46537528f7096c09890e1525b7fbb0d9ea425

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 1d87d77c1..aab4eabb6 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -1131,7 +1131,7 @@ L.Control.Menubar = L.Control.extend({
 			var self = this;
 			var msg = _('<p>Your browser has very limited access to the clipboard, so use these keyboard shortcuts:<ul><li><b>Ctrl+C</b>: For copying.</li><li><b>Ctrl+X</b>: For cutting.</li><li><b>Ctrl+V</b>: For pasting.</li></ul></p>');
 			if (navigator.appVersion.indexOf('Mac') != -1 || navigator.userAgent.indexOf('Mac') != -1) {
-				msg = msg.replace(/Ctrl/g, '⌘');
+				msg = msg.replace(/Ctrl/g, '\u2318');
 			}
 			vex.dialog.alert({
 				unsafeMessage: msg,


More information about the Libreoffice-commits mailing list