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

Henry Castro hcastro at collabora.com
Sat Oct 21 17:44:04 UTC 2017


 loleaflet/dist/toolbar/toolbar.js        |    3 +++
 loleaflet/src/control/Control.Menubar.js |    4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 18867cc98fa42462c1a99bf9a258d2b2cc29704b
Author: Henry Castro <hcastro at collabora.com>
Date:   Sat Oct 21 13:42:35 2017 -0400

    loleaflet: enable Calc spell checking
    
    Change-Id: I9293335e1da7a3ad35d6ed03caf8289e2f26d066

diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 07d30512..9bd33b91 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1023,6 +1023,9 @@ map.on('doclayerinit', function () {
 			{type: 'break', id:'break3'},
 			{type: 'html',  id: 'InsertMode',
 				html: '<div id="InsertMode" class="loleaflet-font" title="'+_('Entering text mode')+ '" style="padding: 5px 5px;">    &nbsp</div>' },
+			{type: 'break', id:'break4'},
+			{type: 'html',  id: 'LanguageStatus',
+				html: '<div id="LanguageStatus" class="loleaflet-font" title="'+_('Text Language')+ '" style="padding: 5px 5px;">    &nbsp</div>' },
 			{type: 'break', id:'break5'},
 			{type: 'html',  id: 'StatusSelectionMode',
 				html: '<div id="StatusSelectionMode" class="loleaflet-font" title="'+_('Selection Mode')+ '" style="padding: 5px 5px;">    &nbsp</div>' },
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 7a37cce5..ad5bec54 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -298,7 +298,9 @@ L.Control.Menubar = L.Control.extend({
 				{name: _('Delete column'), type: 'unocommand', uno: '.uno:DeleteColumns'}]
 			},
 			{name: _('Tools'), id: 'tools', type: 'menu', menu: [
-				{name: _('Automatic spell checking'), type: 'unocommand', uno: '.uno:SpellOnline'}
+				{name: _('Automatic spell checking'), type: 'unocommand', uno: '.uno:SpellOnline'},
+				{name: _('Language for entire document'), type: 'menu', menu: [
+					{name: _('None (Do not check spelling)'), id: 'nonelanguage', type: 'unocommand', uno: '.uno:LanguageStatus?Language:string=Default_LANGUAGE_NONE'}]}
 			]},
 			{name: _('Help'), id: 'help', type: 'menu', menu: [
 				{name: _('Keyboard shortcuts'), id: 'keyboard-shortcuts', type: 'action'},


More information about the Libreoffice-commits mailing list