[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-1' - loleaflet/src loleaflet/unocommands.js
Andras Timar
andras.timar at collabora.com
Wed Feb 21 13:20:34 UTC 2018
loleaflet/src/control/Control.Menubar.js | 5 ++++-
loleaflet/unocommands.js | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 579be9e989b49af91d8c9803a322e022219f7c46
Author: Andras Timar <andras.timar at collabora.com>
Date: Tue Feb 20 23:31:12 2018 +0100
loleaflet: add Tools - AutoCorrect - While Typing toggle menu item to Writer
Change-Id: Id5dfb0b99834beddd927d67167f3be5a417e138f
Reviewed-on: https://gerrit.libreoffice.org/50069
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/50077
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index d7e7f56d..8b6a2e99 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -206,7 +206,10 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:SetLanguageAllTextMenu', 'text'), type: 'menu', menu: [
{name: _('None (Do not check spelling)'), id: 'nonelanguage', uno: '.uno:LanguageStatus?Language:string=Default_LANGUAGE_NONE'}]}
]},
- {uno: '.uno:WordCountDialog'}
+ {uno: '.uno:WordCountDialog'},
+ {type: 'separator'},
+ {name: _UNO('.uno:AutoFormatMenu', 'text'), type: 'menu', menu: [
+ {uno: '.uno:OnlineAutoFormat'}]}
]},
{name: _UNO('.uno:HelpMenu', 'text'), id: 'help', type: 'menu', menu: [
{name: _('Keyboard shortcuts'), id: 'keyboard-shortcuts', type: 'action'},
diff --git a/loleaflet/unocommands.js b/loleaflet/unocommands.js
index 98ff819d..4ad52b93 100644
--- a/loleaflet/unocommands.js
+++ b/loleaflet/unocommands.js
@@ -6,6 +6,7 @@ var unoCommandsArray = {
AnchorMenu:{global:{menu:_('Anc~hor'),},},
ArrangeFrameMenu:{text:{menu:_('Arrange'),},},
ArrangeMenu:{global:{menu:_('A~rrange'),},presentation:{menu:_('~Arrange'),},},
+ AutoFormatMenu:{text:{menu:_('AutoCorr~ect'),},},
BackgroundColor:{global:{menu:_('Background Color'),},},
Bold:{global:{menu:_('Bold'),},},
BringToFront:{global:{menu:_('~Bring to Front'),},},
@@ -142,6 +143,7 @@ var unoCommandsArray = {
NumberingStart:{text:{menu:_('Restart Numbering'),},},
ObjectBackOne:{global:{menu:_('Back One'),},},
ObjectForwardOne:{global:{menu:_('Forward One'),},},
+ OnlineAutoFormat:{text:{menu:_('~While Typing'),},},
OpenHyperlinkOnCursor:{global:{menu:_('Open Link'),},},
OutlineBullet:{global:{menu:_('~Bullets and Numbering...'),},},
OutlineFont:{global:{menu:_('Outline'),},},
More information about the Libreoffice-commits
mailing list