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

Ashod Nakashian (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 23 10:50:21 UTC 2019


 loleaflet/src/control/Control.Menubar.js |    1 +
 loleaflet/src/unocommands.js             |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 45af12abd7e04b61295ac369a619c87bdb9b96a3
Author:     Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Mon Jul 22 16:41:30 2019 -0400
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Sep 23 12:49:48 2019 +0200

    loleaflet: Enable spell checking in Calc
    
    Change-Id: I25c53a628d3535f5ff27bf07db7b2e1af7e46d78

diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 05a82e229..bc526ac34 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -434,6 +434,7 @@ L.Control.Menubar = L.Control.extend({
 					{uno: '.uno:ShowDetail'}]}
 			]},
 			{name: _UNO('.uno:ToolsMenu', 'spreadsheet'), id: 'tools', type: 'menu', menu: [
+				{uno: '.uno:SpellDialog'},
 				{uno: '.uno:SpellOnline'},
 				{name: _UNO('.uno:LanguageMenu'), type: 'menu', menu: [
 					{name: _('None (Do not check spelling)'), id: 'nonelanguage', uno: '.uno:LanguageStatus?Language:string=Default_LANGUAGE_NONE'}]},
diff --git a/loleaflet/src/unocommands.js b/loleaflet/src/unocommands.js
index 7d77075c1..72a64ab9a 100644
--- a/loleaflet/src/unocommands.js
+++ b/loleaflet/src/unocommands.js
@@ -229,6 +229,7 @@ var unoCommandsArray = {
 	SpacePara1:{global:{menu:_('Line Spacing: 1'),},},
 	SpacePara15:{global:{menu:_('Line Spacing: 1.5'),},},
 	SpacePara2:{global:{menu:_('Line Spacing: 2'),},},
+	SpellDialog:{global:{menu:_('~Spelling...'),},},
 	SpellOnline:{global:{menu:_('~Automatic Spell Checking'),},},
 	SpellingAndGrammarDialog:{global:{menu:_('~Spelling...'),},},
 	SplitCell:{presentation:{menu:_('Split Cells'),},spreadsheet:{menu:_('Split Cells'),},text:{menu:_('Split Cells...'),},},


More information about the Libreoffice-commits mailing list