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

New commits:
commit b57a4e9171064941eb4554c1ca07c5424c88b2e2
Author: Henry Castro <hcas...@collabora.com>
Date:   Fri Oct 13 20:59:19 2017 -0400

    loleaflet: enable Impress spell checking
    
    Change-Id: Ie4ae3f683bc55f7ca67b01e65dafea9746784b5a

diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index c0f68fe0..2dc57cf0 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1084,6 +1084,9 @@ map.on('doclayerinit', function () {
                        {type: 'break', id:'break1'},
                        {type: 'html',  id: 'PageStatus',
                                html: '<div id="PageStatus" 
class="loleaflet-font" title="'+_('Number of Slides')+ '" style="padding: 5px 
5px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp</div>' },
+                       {type: 'break', id:'break2'},
+                       {type: 'html',  id: 'LanguageStatus',
+                               html: '<div id="LanguageStatus" 
class="loleaflet-font" title="'+_('Text Language')+ '" style="padding: 5px 
5px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp</div>' }
                ]);
 
                // Remove irrelevant toolbars
diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 57ec87e9..056e3332 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -244,7 +244,9 @@ L.Control.Menubar = L.Control.extend({
                                {name: _('Fullscreen presentation'), id: 
'fullscreen-presentation', type: 'action'}]
                        },
                        {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
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to