loleaflet/src/control/Control.Menubar.js |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

New commits:
commit 1dd9fc7cdb5bdb56fc0fb72a7d242b5aea15da4e
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Wed Oct 4 06:36:29 2017 +0200

    Move the language menus one level up.
    
    Change-Id: I01f5d985ac3ebd9265200ecc161b861dc582ad69
    Reviewed-on: https://gerrit.libreoffice.org/43113
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Tested-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 501d678c..1ab60a1d 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -173,15 +173,13 @@ L.Control.Menubar = L.Control.extend({
                                        {name: _('Merge cells'), type: 
'unocommand', uno: '.uno:MergeCells'}]
                        },
                        {name: _('Tools'), id: 'tools', type: 'menu', menu: [
-                               {name: _('Automatic Spell Checking'), type: 
'unocommand', uno: '.uno:SpellOnline'},
-                               {name: _('Language'), type: 'menu', menu: [
-                                       {name: _('For Selection'), type: 
'menu', menu: [
-                                               {name: _('Reset to Default 
Language'), id: 'resetselection', type: 'unocommand', uno: 
'.uno:LanguageStatus?Language:string=Current_RESET_LANGUAGES'}]},
-                                       {name: _('For Paragraph'), type: 
'menu', menu: [
-                                               {name: _('Reset to Default 
Language'), id: 'resetparagraph', type: 'unocommand', uno: 
'.uno:LanguageStatus?Language:string=Paragraph_RESET_LANGUAGES'}]},
-                                       {name: _('For all Text'), type: 'menu', 
menu: [
-                                               {name: _('Reset to Default 
Language'), id: 'resetlanguage', type: 'unocommand', 
uno:'.uno:LanguageStatus?Language:string=Default_RESET_LANGUAGES'}]}
-                               ]}
+                               {name: _('Automatic spell checking'), type: 
'unocommand', uno: '.uno:SpellOnline'},
+                               {name: _('Language for selection'), type: 
'menu', menu: [
+                                       {name: _('Reset to Default Language'), 
id: 'resetselection', type: 'unocommand', uno: 
'.uno:LanguageStatus?Language:string=Current_RESET_LANGUAGES'}]},
+                               {name: _('Language for paragraph'), type: 
'menu', menu: [
+                                       {name: _('Reset to Default Language'), 
id: 'resetparagraph', type: 'unocommand', uno: 
'.uno:LanguageStatus?Language:string=Paragraph_RESET_LANGUAGES'}]},
+                               {name: _('Language for entire document'), type: 
'menu', menu: [
+                                       {name: _('Reset to Default Language'), 
id: 'resetlanguage', type: 'unocommand', 
uno:'.uno:LanguageStatus?Language:string=Default_RESET_LANGUAGES'}]}
                        ]},
                        {name: _('Help'), id: 'help', type: 'menu', menu: [
                                {name: _('Keyboard shortcuts'), id: 
'keyboard-shortcuts', type: 'action'},
@@ -246,7 +244,7 @@ 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: _('Help'), id: 'help', type: 'menu', menu: [
                                {name: _('Keyboard shortcuts'), id: 
'keyboard-shortcuts', type: 'action'},
@@ -298,7 +296,7 @@ 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: _('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