[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - loleaflet/src loleaflet/unocommands.js

Jan Holesovsky kendy at collabora.com
Fri Dec 8 09:32:52 UTC 2017


 loleaflet/src/control/Control.ContextMenu.js |    4 ++--
 loleaflet/src/control/Control.Menubar.js     |    6 +++---
 loleaflet/unocommands.js                     |    5 +++++
 3 files changed, 10 insertions(+), 5 deletions(-)

New commits:
commit e68789ac2c9c3bfa661ae815ff27cd4bb038bc2c
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Dec 7 10:10:33 2017 +0100

    l10n: Fix mis-typed .uno: commands.
    
    Change-Id: Ia2d695d584d48b92def364c3936655909aabd076
    Reviewed-on: https://gerrit.libreoffice.org/46012
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Control.ContextMenu.js b/loleaflet/src/control/Control.ContextMenu.js
index 743c7f3f..218cbb4b 100644
--- a/loleaflet/src/control/Control.ContextMenu.js
+++ b/loleaflet/src/control/Control.ContextMenu.js
@@ -33,11 +33,11 @@ L.Control.ContextMenu = L.Control.extend({
 				   'InsertRowsBefore', 'InsertRowsAfter', 'InsertColumnsBefore', 'InsertColumnsAfter',
 				   'TableDeleteMenu',
 				   'DeleteRows', 'DeleteColumns', 'DeleteTable',
-				   'MergeCells', 'SetOptimalColumnWidth', 'SetOptimalRowWidth',
+				   'MergeCells', 'SetOptimalColumnWidth', 'SetOptimalRowHeight',
 				   'UpdateCurIndex','RemoveTableOf',
 				   'ReplyComment', 'DeleteComment', 'DeleteAuthor', 'DeleteAllNotes'],
 
-			spreadsheet: ['MergeCells', 'SplitCells', 'RecalcPivotTable', 'FormatCellDialog'],
+			spreadsheet: ['MergeCells', 'SplitCell', 'RecalcPivotTable', 'FormatCellDialog'],
 
 			presentation: ['EditStyle'],
 			drawing: []
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 4a536a77..44d82157 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -66,7 +66,7 @@ L.Control.Menubar = L.Control.extend({
 				{uno: '.uno:InsertFootnote'},
 				{uno: '.uno:InsertEndnote'},
 				{type: 'separator'},
-				{uno: '.uno:InsertPageBreak'},
+				{uno: '.uno:InsertPagebreak'},
 				{uno: '.uno:InsertColumnBreak'},
 				{type: 'separator'},
 				{uno: '.uno:HyperlinkDialog'},
@@ -128,7 +128,7 @@ L.Control.Menubar = L.Control.extend({
 					{uno: '.uno:CommonAlignJustified'},
 					{type: 'separator'},
 					{uno: '.uno:CommonAlignTop'},
-					{uno: '.uno:CommonAlignVerticalcenter'},
+					{uno: '.uno:CommonAlignVerticalCenter'},
 					{uno: '.uno:CommonAlignBottom'}]},
 				{name: _('Lists'), type: 'menu', menu: [
 					{uno: '.uno:DefaultBullet'},
@@ -136,7 +136,7 @@ L.Control.Menubar = L.Control.extend({
 					{type: 'separator'},
 					{uno: '.uno:DecrementLevel'},
 					{uno: '.uno:IncrementLevel'},
-					{uno: '.uno:DecrementSublevels'},
+					{uno: '.uno:DecrementSubLevels'},
 					{uno: '.uno:IncrementSubLevels'},
 					{type: 'separator'},
 					{uno: '.uno:MoveDown'},
diff --git a/loleaflet/unocommands.js b/loleaflet/unocommands.js
index 2b74092a..1670af79 100644
--- a/loleaflet/unocommands.js
+++ b/loleaflet/unocommands.js
@@ -21,6 +21,7 @@ var unoCommandsArray = {
     CommonAlignLeft: _('Left'),
     CommonAlignRight: _('Right'),
     CommonAlignTop: _('Top'),
+    CommonAlignVerticalCenter: _('Center'),
     ContinueNumbering: _('Continue previous numbering'),
     ControlCodes: _('Formatting Marks'),
     Copy: _('~Copy'),
@@ -28,6 +29,7 @@ var unoCommandsArray = {
     Cut: _('~Cut'),
     DecrementIndent: _('Decrease'),
     DecrementLevel: _('Demote One Level'),
+    DecrementSubLevels: _('Demote One Level With Subpoints'),
     DefaultBullet: _('Bullets'),
     DefaultNumbering: _('Numbering'),
     DeleteAllNotes: _('Delete All Comments'),
@@ -60,6 +62,7 @@ var unoCommandsArray = {
     InsertLRM: _('~Left-to-right mark'),
     InsertNeutralParagraph: _('Insert Unnumbered Entry'),
     InsertNonBreakingSpace: _('~Non-breaking space'),
+    InsertPagebreak: _('~Page Break'),
     InsertRLM: _('~Right-to-left mark'),
     InsertRows: _('Insert ~Rows Above'),
     InsertRowsAfter: _('Insert ~Rows Below'),
@@ -112,6 +115,7 @@ var unoCommandsArray = {
     SetAnchorToPage: _('Anchor: To P~age'),
     SetAnchorToPara: _('Anchor To Paragraph'),
     SetOptimalColumnWidth: _('~Optimal Column Width...'),
+    SetOptimalRowHeight: _('~Optimal Row Height...'),
     Shadowed: _('Shadow'),
     ShowDetail: _('~Show Details'),
     ShowTrackedChanges: _('~Show'),
@@ -122,6 +126,7 @@ var unoCommandsArray = {
     SpacePara2: _('Line Spacing: 2'),
     SpellOnline: _('Auto Spellcheck'),
     SpellingAndGrammarDialog: _('Spelling'),
+    SplitCell: _('Split Cells'),
     Strikeout: _('Strikethrough'),
     SubScript: _('Subscript'),
     SuperScript: _('Superscript'),


More information about the Libreoffice-commits mailing list