From feb8b5824c66a9fcc650280520c21a7d46233d6f Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Wed, 20 Apr 2022 12:49:10 +0200 Subject: 22.05 doesn't have InsertZWNBSP command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Szymon Kłos Change-Id: I420dce5a86f679a08d2bc9cbcad07e0800871ae8 --- browser/src/control/Control.JSDialogBuilder.js | 2 +- browser/src/control/Control.Menubar.js | 4 ++-- browser/src/unocommands.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/browser/src/control/Control.JSDialogBuilder.js b/browser/src/control/Control.JSDialogBuilder.js index ccca73566e..63cec06618 100644 --- a/browser/src/control/Control.JSDialogBuilder.js +++ b/browser/src/control/Control.JSDialogBuilder.js @@ -175,7 +175,7 @@ L.Control.JSDialogBuilder = L.Control.extend({ {text: _UNO('.uno:InsertHardHyphen', 'text'), uno: 'InsertHardHyphen'}, {text: _UNO('.uno:InsertSoftHyphen', 'text'), uno: 'InsertSoftHyphen'}, {text: _UNO('.uno:InsertZWSP', 'text'), uno: 'InsertZWSP'}, - {text: _UNO('.uno:InsertZWNBSP', 'text'), uno: 'InsertZWNBSP'}, + {text: _UNO('.uno:InsertWJ', 'text'), uno: 'InsertWJ'}, {text: _UNO('.uno:InsertLRM', 'text'), uno: 'InsertLRM'}, {text: _UNO('.uno:InsertRLM', 'text'), uno: 'InsertRLM'} ]; diff --git a/browser/src/control/Control.Menubar.js b/browser/src/control/Control.Menubar.js index f8066422be..5edb32d60e 100644 --- a/browser/src/control/Control.Menubar.js +++ b/browser/src/control/Control.Menubar.js @@ -161,7 +161,7 @@ L.Control.Menubar = L.Control.extend({ {uno: '.uno:InsertHardHyphen'}, {uno: '.uno:InsertSoftHyphen'}, {uno: '.uno:InsertZWSP'}, - {uno: '.uno:InsertZWNBSP'}, + {uno: '.uno:InsertWJ'}, {uno: '.uno:InsertLRM'}, {uno: '.uno:InsertRLM'}]}, {name: _UNO('.uno:IndexesMenu', 'text'), type: 'menu', menu: [ @@ -1058,7 +1058,7 @@ L.Control.Menubar = L.Control.extend({ {uno: '.uno:InsertHardHyphen'}, {uno: '.uno:InsertSoftHyphen'}, {uno: '.uno:InsertZWSP'}, - {uno: '.uno:InsertZWNBSP'}, + {uno: '.uno:InsertWJ'}, {uno: '.uno:InsertLRM'}, {uno: '.uno:InsertRLM'}]}, ] diff --git a/browser/src/unocommands.js b/browser/src/unocommands.js index 017ff7aeef..6765d72a34 100644 --- a/browser/src/unocommands.js +++ b/browser/src/unocommands.js @@ -302,7 +302,7 @@ var unoCommandsArray = { 'InsertTrendline':{global:{menu:_('Insert Tre~nd Line...'),},}, 'InsertXErrorBars':{global:{menu:_('Insert X Error ~Bars...'),},}, 'InsertYErrorBars':{global:{menu:_('Insert Y Error ~Bars...'),},}, - 'InsertZWNBSP':{global:{menu:_('No-width No ~Break'),},}, + 'InsertWJ':{global:{menu:_('No-width No ~Break'),},}, 'InsertZWSP':{global:{menu:_('No-~width Optional Break'),},}, 'Italic':{global:{menu:_('Italic'),},}, 'JumpDownThisLevel':{text:{menu:_('To Next Paragraph in Level'),},}, -- cgit