summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2022-04-20 12:49:10 +0200
committerAndras Timar <andras.timar@collabora.com>2022-04-21 10:16:05 +0200
commitfeb8b5824c66a9fcc650280520c21a7d46233d6f (patch)
treece48d0ed2c2f830a5219449d236d6ba3dabb3ca0
parentbrowser: make: remove duplicate .ts files from makefile (diff)
downloadonline-feb8b5824c66a9fcc650280520c21a7d46233d6f.tar.gz
online-feb8b5824c66a9fcc650280520c21a7d46233d6f.zip
22.05 doesn't have InsertZWNBSP command
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I420dce5a86f679a08d2bc9cbcad07e0800871ae8
-rw-r--r--browser/src/control/Control.JSDialogBuilder.js2
-rw-r--r--browser/src/control/Control.Menubar.js4
-rw-r--r--browser/src/unocommands.js2
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'),},},