[Libreoffice-commits] online.git: loleaflet/src loleaflet/unocommands.js
Michael Meeks
michael.meeks at collabora.com
Wed Jan 24 12:39:52 UTC 2018
loleaflet/src/control/Control.Menubar.js | 1 +
loleaflet/unocommands.js | 1 +
2 files changed, 2 insertions(+)
New commits:
commit 83cef0d0d7de8ee35ee8d34b6fd18c639ae5e940
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Mon Jan 22 16:40:15 2018 +0000
Add the Thesaurus dialog.
Change-Id: I976ffd46e95dfa675150ee66650f211b2c9f5cdc
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 55347ad5..13338925 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -187,6 +187,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 8ed093ad..2de09ee6 100644
--- a/loleaflet/unocommands.js
+++ b/loleaflet/unocommands.js
@@ -210,6 +210,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'),},},
More information about the Libreoffice-commits
mailing list