[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/dist loleaflet/src
Henry Castro
hcastro at collabora.com
Thu Oct 26 19:14:44 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 b330106bec0b60f3cdd119ba6153816858043961
Author: Henry Castro <hcastro at collabora.com>
Date: Sat Oct 21 13:42:35 2017 -0400
loleaflet: enable Calc spell checking
Change-Id: I9293335e1da7a3ad35d6ed03caf8289e2f26d066
Reviewed-on: https://gerrit.libreoffice.org/43702
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 2f2eb146..ea7e567b 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -986,6 +986,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;">  </div>' },
+ {type: 'break', id:'break4'},
+ {type: 'html', id: 'LanguageStatus',
+ html: '<div id="LanguageStatus" class="loleaflet-font" title="'+_('Text Language')+ '" style="padding: 5px 5px;">  </div>' },
{type: 'break', id:'break5'},
{type: 'html', id: 'StatusSelectionMode',
html: '<div id="StatusSelectionMode" class="loleaflet-font" title="'+_('Selection Mode')+ '" style="padding: 5px 5px;">  </div>' },
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index c14cd1fa..6e9de55b 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -300,7 +300,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