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

New commits:
commit 01474347ec897b43213703a1dd826432f988b2ac
Author: Michael Meeks <michael.me...@collabora.com>
Date:   Mon Jan 22 16:40:15 2018 +0000

    Add the Thesaurus dialog.
    
    Change-Id: I976ffd46e95dfa675150ee66650f211b2c9f5cdc
    Reviewed-on: https://gerrit.libreoffice.org/48537
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 1a458b1b..095ed06c 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -184,6 +184,7 @@ L.Control.Menubar = L.Control.extend({
                        {name: _UNO('.uno:ToolsMenu', 'text'), id: 'tools', 
type: 'menu', menu: [
                                {uno: '.uno:SpellingAndGrammarDialog'},
                                {uno: '.uno:SpellOnline'},
+                               {uno: '.uno:ThesaurusDialog'},
                                {name: _UNO('.uno:LanguageMenu'), type: 'menu', 
menu: [
                                        {name: 
_UNO('.uno:SetLanguageSelectionMenu', 'text'), type: 'menu', menu: [
                                                {name: _('None (Do not check 
spelling)'), id: 'noneselection', uno: 
'.uno:LanguageStatus?Language:string=Current_LANGUAGE_NONE'}]},
diff --git a/loleaflet/unocommands.js b/loleaflet/unocommands.js
index 14ec0ce6..32221b0f 100644
--- a/loleaflet/unocommands.js
+++ b/loleaflet/unocommands.js
@@ -209,6 +209,7 @@ var unoCommandsArray = {
        TableSelectMenu:{text:{menu:_('~Select'),},},
        TaskPaneInsertPage:{presentation:{menu:_('Insert Slide'),},},
        TextAlign:{global:{menu:_('Alig~n'),},},
+       
ThesaurusDialog:{global:{menu:_('~Thesaurus...'),},text:{menu:_('~Thesaurus...'),},},
        ToggleMergeCells:{spreadsheet:{menu:_('M~erge and Center Cells'),},},
        ToolsMenu:{global:{menu:_('~Tools'),},},
        TrackChanges:{text:{menu:_('~Record'),},},
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to