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 <[email protected]> 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 <[email protected]> Tested-by: Jan Holesovsky <[email protected]> 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'}, _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
