loleaflet: Enable spell checking in Calc

Change-Id: I25c53a628d3535f5ff27bf07db7b2e1af7e46d78
This commit is contained in:
Ashod Nakashian 2019-07-22 16:41:30 -04:00 committed by Andras Timar
parent dc852924b4
commit 45af12abd7
2 changed files with 2 additions and 0 deletions

View file

@ -434,6 +434,7 @@ L.Control.Menubar = L.Control.extend({
{uno: '.uno:ShowDetail'}]}
]},
{name: _UNO('.uno:ToolsMenu', 'spreadsheet'), id: 'tools', type: 'menu', menu: [
{uno: '.uno:SpellDialog'},
{uno: '.uno:SpellOnline'},
{name: _UNO('.uno:LanguageMenu'), type: 'menu', menu: [
{name: _('None (Do not check spelling)'), id: 'nonelanguage', uno: '.uno:LanguageStatus?Language:string=Default_LANGUAGE_NONE'}]},

View file

@ -229,6 +229,7 @@ var unoCommandsArray = {
SpacePara1:{global:{menu:_('Line Spacing: 1'),},},
SpacePara15:{global:{menu:_('Line Spacing: 1.5'),},},
SpacePara2:{global:{menu:_('Line Spacing: 2'),},},
SpellDialog:{global:{menu:_('~Spelling...'),},},
SpellOnline:{global:{menu:_('~Automatic Spell Checking'),},},
SpellingAndGrammarDialog:{global:{menu:_('~Spelling...'),},},
SplitCell:{presentation:{menu:_('Split Cells'),},spreadsheet:{menu:_('Split Cells'),},text:{menu:_('Split Cells...'),},},