libreoffice-online/loleaflet/unocommands.js

259 lines
15 KiB
JavaScript
Raw Normal View History

l10n: use translations of .uno: commands from LibreOffice This is a combination of 22 commits. l10n: New script for collecting the used .uno: commands. Change-Id: I9c6f3f03a4042f8e5ba1f258ce468fc0f4abd169 Reviewed-on: https://gerrit.libreoffice.org/45981 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 99161841dcee3b066153a7f7af0e98d6ef7f8a2c) l10n: Don't repeat the strings in the menu definition, use the uno commands. Change-Id: If8ccd753cd88056c64c10e3f9f7b951208fafdb8 Reviewed-on: https://gerrit.libreoffice.org/45983 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 5b87f2fca5d6f84d0ac637021e87e2dc41dd13c7) l10n: "type: 'unocommand'" is implicit when there is "uno:" in the item. Change-Id: I2fe50e4860848920f551cc6a3fda5ebe5f49b3f2 Reviewed-on: https://gerrit.libreoffice.org/46011 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit d38664c023f374dc66361d00be89c08a0e5bbc20) l10n: Fix mis-typed .uno: commands. Change-Id: Ia2d695d584d48b92def364c3936655909aabd076 Reviewed-on: https://gerrit.libreoffice.org/46012 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit e68789ac2c9c3bfa661ae815ff27cd4bb038bc2c) l10n: Don't extract uno: when name: is provided for that entry. Change-Id: I85619915cf66a71c7ab982c2949390bd82df9abb Reviewed-on: https://gerrit.libreoffice.org/46013 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 293c5d45083823ae1c1f4e0519928c0b5d23dced) l10n: Implement --check to notice not covered .uno: commands early. Change-Id: I928f2cef8d9a869c10fa6c6370a7ce1c811631c8 Reviewed-on: https://gerrit.libreoffice.org/46014 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 457f929357adf7f52e0fc9281d41df3f29859467) l10n: Further decrease the use of own Online strings... ...if those can be deducted from .uno: commands. Change-Id: I9c2459a12ee95e936a7ec37f6270012d811cdf86 Reviewed-on: https://gerrit.libreoffice.org/46018 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 70ecee2bb6398aafdf6c71aeecf6e9eb6330fb70) l10n: Let's avoid redirect, and write the unocommands.js directly. Change-Id: Ifda0de27881ba415ff062368483524080dce5189 Reviewed-on: https://gerrit.libreoffice.org/46020 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b6fa6f376c41d6787ab1cbb52218e7ff1064b83a) l10n: Generate translations of the .uno: commands + update the current ones. Change-Id: I77377412e4776a830f15973a35b83e8eca299f05 Reviewed-on: https://gerrit.libreoffice.org/46047 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b2bfb2349ec2934a611bb4c1393e9f17aedb0ba2) l10n: Translate also the right-click menu .uno: commands. Change-Id: Ie5cedaaa10febe78ba319f9e9b03fdd44c94f468 Reviewed-on: https://gerrit.libreoffice.org/46048 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 861c252d5204dfac7b8f5fb4505efcc29eafeb3d) l10n: len(sys.argv) is 1, when the command is invoked without options Change-Id: Ie9a47955e9a031ee0484c0703f67bad7077bbd76 Reviewed-on: https://gerrit.libreoffice.org/46078 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f096cf33977620f368ecc7c5b64164ab2303060b) l10n: remove obsolete unocommandsl10n.sh Change-Id: I4e9945407aff4a4fa1444079f8ecec1782a71c9c Reviewed-on: https://gerrit.libreoffice.org/46079 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 4f0d5d7a2431bf5e132bdcd85285c10c0fd21322) l10n: Make sure to distinct between apps + between main menu and context menu. The strings can differ considerably, making some menu entries not understandable at all. Change-Id: I36ffa8b01df119a7655a711ec859391af16836c9 Reviewed-on: https://gerrit.libreoffice.org/46097 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 53d9593edb32bbc5db3fe430ac5f20a1bdd4e127) l10n: Fix the Table menu in Impress. Change-Id: I2cb8b98ecc1a18174b26dfaa9c96ad3829ff5989 Reviewed-on: https://gerrit.libreoffice.org/46099 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit be100fe06abbeabed05b0c8a02c4f6067fcfc774) l10n: first check for 'lang', then require unocommands Change-Id: Ib8f94bbdd163a89bef4886d68816628e124e9ef8 (cherry picked from commit d94a53a0e363f6edf3a139d26c4b9603ef14389f) l10n: get Language menu translations for free Change-Id: I8b5628457cf713d8fdb0d4de6935b7e1d54ad093 Reviewed-on: https://gerrit.libreoffice.org/46158 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 53b8a60d5d85fc1a3909809ea51a23cb20453bea) l10n: Calc and Impress should use _UNO('.uno:LanguageMenu') too. Change-Id: I987821d9d9b0f40baea1879d28177e8e0c58a3a3 Reviewed-on: https://gerrit.libreoffice.org/46418 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit ba61ec9da2c073d2d728c5bb8df8912f5117fd5e) l10n: Calc row, column and sheet tab context menu translations from LibreOffice Change-Id: I1f566a71e5fdc66304e82bc2bcfb0f9ced2f5d2a Reviewed-on: https://gerrit.libreoffice.org/46430 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit e8847b9ef174288b73650a4e63e8a6b0cfb43b4c) l10n: Some toolbar button tooltip translations from LibreOffice Change-Id: I4a8d050c7ae8efc7d1932f16dc35455f1a182d8a Reviewed-on: https://gerrit.libreoffice.org/46444 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit d51a760957480ea412519f677dae7a2294c324cd) l10n: localize 'Undo' and 'Redo' labels on Document Repair dialog Change-Id: Ibd4236f85a6db92b7d6456f6f22115b35079da83 Reviewed-on: https://gerrit.libreoffice.org/47252 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f8bf2c28608c139279aaa484603da8cc539ff948) l10n: 5 more toolbar strings from LO core Change-Id: I398a0d7c28a8295c3b8e5077903b5fa7d3d5c45c Reviewed-on: https://gerrit.libreoffice.org/47310 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2017-12-06 11:36:14 -06:00
// Don't modify, generated using unocommands.py
var unoCommandsArray = {
AcceptAllTrackedChanges:{text:{menu:_('Accept All'),},},
AcceptTrackedChanges:{text:{menu:_('~Manage...'),},},
AnchorMenu:{global:{menu:_('Anc~hor'),},},
ArrangeFrameMenu:{text:{menu:_('Arrange'),},},
ArrangeMenu:{global:{menu:_('A~rrange'),},presentation:{menu:_('~Arrange'),},},
BackgroundColor:{global:{menu:_('Background Color'),},},
Bold:{global:{menu:_('Bold'),},},
BringToFront:{global:{menu:_('~Bring to Front'),},},
CenterPara:{global:{context:_('Center Horizontally'),menu:_('Center'),},},
ChangeCaseRotateCase:{global:{menu:_('Cycle Case'),},},
ChangeCaseToLower:{global:{menu:_('~lowercase'),},},
ChangeCaseToSentenceCase:{global:{menu:_('~Sentence case'),},},
ChangeCaseToTitleCase:{global:{menu:_('~Capitalize Every Word'),},},
ChangeCaseToToggleCase:{global:{menu:_('~tOGGLE cASE'),},},
ChangeCaseToUpper:{global:{menu:_('~UPPERCASE'),},},
ChangesMenu:{global:{menu:_('Track Chan~ges'),},},
ClearOutline:{global:{menu:_('~Remove Outline'),},},
CommonAlignBottom:{global:{menu:_('Bottom'),},},
CommonAlignHorizontalCenter:{global:{menu:_('Centered'),},},
CommonAlignJustified:{global:{menu:_('Justified'),},},
CommonAlignLeft:{global:{menu:_('Left'),},},
CommonAlignRight:{global:{menu:_('Right'),},},
CommonAlignTop:{global:{menu:_('Top'),},},
CommonAlignVerticalCenter:{global:{menu:_('Center'),},},
ContinueNumbering:{text:{menu:_('Continue previous numbering'),},},
ControlCodes:{text:{menu:_('For~matting Marks'),},},
Copy:{global:{menu:_('~Copy'),},},
CopyHyperlinkLocation:{text:{menu:_('Copy Hyperlink Location'),},},
Cut:{global:{menu:_('~Cut'),},},
DataFilterAutoFilter:{spreadsheet:{menu:_('Auto~Filter'),},},
DataFilterHideAutoFilter:{spreadsheet:{menu:_('~Hide AutoFilter'),},},
DataFilterRemoveFilter:{spreadsheet:{menu:_('~Reset Filter'),},},
DataFilterSpecialFilter:{spreadsheet:{menu:_('~Advanced Filter...'),},},
DataFilterStandardFilter:{spreadsheet:{menu:_('~Standard Filter...'),},},
DataMenu:{spreadsheet:{menu:_('~Data'),},},
DataSort:{spreadsheet:{menu:_('~Sort...'),},},
DecrementIndent:{global:{context:_('Decrease Indent'),menu:_('Decrease Indent'),},},
DecrementLevel:{text:{menu:_('Demote One Level'),},},
DecrementSubLevels:{text:{menu:_('Demote One Level With Subpoints'),},},
DefaultBullet:{global:{context:_('Toggle Bulleted List'),menu:_('~Bulleted List'),},},
DefaultNumbering:{global:{context:_('Toggle Numbered List'),menu:_('~Numbered List'),},},
DeleteAllNotes:{global:{menu:_('Delete All Comments'),},spreadsheet:{menu:_('Delete All Comments'),},},
DeleteAuthor:{global:{menu:_('Delete All Comments by This Author'),},},
DeleteColumns:{presentation:{context:_('Delete Column'),menu:_('~Columns'),},spreadsheet:{menu:_('Delete Columns'),},text:{menu:_('~Columns'),},},
DeleteComment:{global:{menu:_('Delete Comment'),},},
DeleteRows:{presentation:{context:_('Delete Row'),menu:_('~Rows'),},spreadsheet:{menu:_('Delete Rows'),},text:{menu:_('~Rows'),},},
DeleteSlide:{presentation:{menu:_('~Delete Slide'),},},
DeleteTable:{text:{menu:_('~Table'),},},
DownSearch:{global:{menu:_('Find Next'),},},
DuplicateSlide:{presentation:{menu:_('Duplicate ~Slide'),},},
EditMenu:{global:{menu:_('~Edit'),},},
EditStyle:{global:{menu:_('~Edit Style...'),},presentation:{menu:_('E~dit Style...'),},},
EntireCell:{text:{menu:_('C~ell'),},},
EntireColumn:{presentation:{menu:_('~Columns'),},text:{menu:_('~Column'),},},
EntireRow:{presentation:{menu:_('~Rows'),},text:{menu:_('~Row'),},},
FilterMenu:{spreadsheet:{menu:_('More ~Filters'),},},
FontColor:{global:{menu:_('Font Color'),},text:{menu:_('Font Color'),},},
FontDialog:{global:{menu:_('C~haracter...'),},},
FormatArea:{global:{menu:_('A~rea...'),},},
FormatBulletsMenu:{global:{menu:_('Lis~ts'),},},
FormatCellDialog:{spreadsheet:{context:_('~Format Cells...'),menu:_('Ce~lls...'),},},
FormatLine:{global:{menu:_('L~ine...'),},},
l10n: use translations of .uno: commands from LibreOffice This is a combination of 22 commits. l10n: New script for collecting the used .uno: commands. Change-Id: I9c6f3f03a4042f8e5ba1f258ce468fc0f4abd169 Reviewed-on: https://gerrit.libreoffice.org/45981 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 99161841dcee3b066153a7f7af0e98d6ef7f8a2c) l10n: Don't repeat the strings in the menu definition, use the uno commands. Change-Id: If8ccd753cd88056c64c10e3f9f7b951208fafdb8 Reviewed-on: https://gerrit.libreoffice.org/45983 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 5b87f2fca5d6f84d0ac637021e87e2dc41dd13c7) l10n: "type: 'unocommand'" is implicit when there is "uno:" in the item. Change-Id: I2fe50e4860848920f551cc6a3fda5ebe5f49b3f2 Reviewed-on: https://gerrit.libreoffice.org/46011 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit d38664c023f374dc66361d00be89c08a0e5bbc20) l10n: Fix mis-typed .uno: commands. Change-Id: Ia2d695d584d48b92def364c3936655909aabd076 Reviewed-on: https://gerrit.libreoffice.org/46012 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit e68789ac2c9c3bfa661ae815ff27cd4bb038bc2c) l10n: Don't extract uno: when name: is provided for that entry. Change-Id: I85619915cf66a71c7ab982c2949390bd82df9abb Reviewed-on: https://gerrit.libreoffice.org/46013 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 293c5d45083823ae1c1f4e0519928c0b5d23dced) l10n: Implement --check to notice not covered .uno: commands early. Change-Id: I928f2cef8d9a869c10fa6c6370a7ce1c811631c8 Reviewed-on: https://gerrit.libreoffice.org/46014 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 457f929357adf7f52e0fc9281d41df3f29859467) l10n: Further decrease the use of own Online strings... ...if those can be deducted from .uno: commands. Change-Id: I9c2459a12ee95e936a7ec37f6270012d811cdf86 Reviewed-on: https://gerrit.libreoffice.org/46018 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 70ecee2bb6398aafdf6c71aeecf6e9eb6330fb70) l10n: Let's avoid redirect, and write the unocommands.js directly. Change-Id: Ifda0de27881ba415ff062368483524080dce5189 Reviewed-on: https://gerrit.libreoffice.org/46020 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b6fa6f376c41d6787ab1cbb52218e7ff1064b83a) l10n: Generate translations of the .uno: commands + update the current ones. Change-Id: I77377412e4776a830f15973a35b83e8eca299f05 Reviewed-on: https://gerrit.libreoffice.org/46047 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b2bfb2349ec2934a611bb4c1393e9f17aedb0ba2) l10n: Translate also the right-click menu .uno: commands. Change-Id: Ie5cedaaa10febe78ba319f9e9b03fdd44c94f468 Reviewed-on: https://gerrit.libreoffice.org/46048 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 861c252d5204dfac7b8f5fb4505efcc29eafeb3d) l10n: len(sys.argv) is 1, when the command is invoked without options Change-Id: Ie9a47955e9a031ee0484c0703f67bad7077bbd76 Reviewed-on: https://gerrit.libreoffice.org/46078 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f096cf33977620f368ecc7c5b64164ab2303060b) l10n: remove obsolete unocommandsl10n.sh Change-Id: I4e9945407aff4a4fa1444079f8ecec1782a71c9c Reviewed-on: https://gerrit.libreoffice.org/46079 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 4f0d5d7a2431bf5e132bdcd85285c10c0fd21322) l10n: Make sure to distinct between apps + between main menu and context menu. The strings can differ considerably, making some menu entries not understandable at all. Change-Id: I36ffa8b01df119a7655a711ec859391af16836c9 Reviewed-on: https://gerrit.libreoffice.org/46097 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 53d9593edb32bbc5db3fe430ac5f20a1bdd4e127) l10n: Fix the Table menu in Impress. Change-Id: I2cb8b98ecc1a18174b26dfaa9c96ad3829ff5989 Reviewed-on: https://gerrit.libreoffice.org/46099 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit be100fe06abbeabed05b0c8a02c4f6067fcfc774) l10n: first check for 'lang', then require unocommands Change-Id: Ib8f94bbdd163a89bef4886d68816628e124e9ef8 (cherry picked from commit d94a53a0e363f6edf3a139d26c4b9603ef14389f) l10n: get Language menu translations for free Change-Id: I8b5628457cf713d8fdb0d4de6935b7e1d54ad093 Reviewed-on: https://gerrit.libreoffice.org/46158 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 53b8a60d5d85fc1a3909809ea51a23cb20453bea) l10n: Calc and Impress should use _UNO('.uno:LanguageMenu') too. Change-Id: I987821d9d9b0f40baea1879d28177e8e0c58a3a3 Reviewed-on: https://gerrit.libreoffice.org/46418 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit ba61ec9da2c073d2d728c5bb8df8912f5117fd5e) l10n: Calc row, column and sheet tab context menu translations from LibreOffice Change-Id: I1f566a71e5fdc66304e82bc2bcfb0f9ced2f5d2a Reviewed-on: https://gerrit.libreoffice.org/46430 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit e8847b9ef174288b73650a4e63e8a6b0cfb43b4c) l10n: Some toolbar button tooltip translations from LibreOffice Change-Id: I4a8d050c7ae8efc7d1932f16dc35455f1a182d8a Reviewed-on: https://gerrit.libreoffice.org/46444 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit d51a760957480ea412519f677dae7a2294c324cd) l10n: localize 'Undo' and 'Redo' labels on Document Repair dialog Change-Id: Ibd4236f85a6db92b7d6456f6f22115b35079da83 Reviewed-on: https://gerrit.libreoffice.org/47252 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f8bf2c28608c139279aaa484603da8cc539ff948) l10n: 5 more toolbar strings from LO core Change-Id: I398a0d7c28a8295c3b8e5077903b5fa7d3d5c45c Reviewed-on: https://gerrit.libreoffice.org/47310 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2017-12-06 11:36:14 -06:00
FormatMenu:{global:{menu:_('F~ormat'),},},
FormatObjectMenu:{global:{menu:_('~Object and Shape'),},text:{menu:_('Text Box and Shap~e'),},},
l10n: use translations of .uno: commands from LibreOffice This is a combination of 22 commits. l10n: New script for collecting the used .uno: commands. Change-Id: I9c6f3f03a4042f8e5ba1f258ce468fc0f4abd169 Reviewed-on: https://gerrit.libreoffice.org/45981 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 99161841dcee3b066153a7f7af0e98d6ef7f8a2c) l10n: Don't repeat the strings in the menu definition, use the uno commands. Change-Id: If8ccd753cd88056c64c10e3f9f7b951208fafdb8 Reviewed-on: https://gerrit.libreoffice.org/45983 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 5b87f2fca5d6f84d0ac637021e87e2dc41dd13c7) l10n: "type: 'unocommand'" is implicit when there is "uno:" in the item. Change-Id: I2fe50e4860848920f551cc6a3fda5ebe5f49b3f2 Reviewed-on: https://gerrit.libreoffice.org/46011 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit d38664c023f374dc66361d00be89c08a0e5bbc20) l10n: Fix mis-typed .uno: commands. Change-Id: Ia2d695d584d48b92def364c3936655909aabd076 Reviewed-on: https://gerrit.libreoffice.org/46012 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit e68789ac2c9c3bfa661ae815ff27cd4bb038bc2c) l10n: Don't extract uno: when name: is provided for that entry. Change-Id: I85619915cf66a71c7ab982c2949390bd82df9abb Reviewed-on: https://gerrit.libreoffice.org/46013 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 293c5d45083823ae1c1f4e0519928c0b5d23dced) l10n: Implement --check to notice not covered .uno: commands early. Change-Id: I928f2cef8d9a869c10fa6c6370a7ce1c811631c8 Reviewed-on: https://gerrit.libreoffice.org/46014 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 457f929357adf7f52e0fc9281d41df3f29859467) l10n: Further decrease the use of own Online strings... ...if those can be deducted from .uno: commands. Change-Id: I9c2459a12ee95e936a7ec37f6270012d811cdf86 Reviewed-on: https://gerrit.libreoffice.org/46018 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 70ecee2bb6398aafdf6c71aeecf6e9eb6330fb70) l10n: Let's avoid redirect, and write the unocommands.js directly. Change-Id: Ifda0de27881ba415ff062368483524080dce5189 Reviewed-on: https://gerrit.libreoffice.org/46020 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b6fa6f376c41d6787ab1cbb52218e7ff1064b83a) l10n: Generate translations of the .uno: commands + update the current ones. Change-Id: I77377412e4776a830f15973a35b83e8eca299f05 Reviewed-on: https://gerrit.libreoffice.org/46047 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b2bfb2349ec2934a611bb4c1393e9f17aedb0ba2) l10n: Translate also the right-click menu .uno: commands. Change-Id: Ie5cedaaa10febe78ba319f9e9b03fdd44c94f468 Reviewed-on: https://gerrit.libreoffice.org/46048 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 861c252d5204dfac7b8f5fb4505efcc29eafeb3d) l10n: len(sys.argv) is 1, when the command is invoked without options Change-Id: Ie9a47955e9a031ee0484c0703f67bad7077bbd76 Reviewed-on: https://gerrit.libreoffice.org/46078 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f096cf33977620f368ecc7c5b64164ab2303060b) l10n: remove obsolete unocommandsl10n.sh Change-Id: I4e9945407aff4a4fa1444079f8ecec1782a71c9c Reviewed-on: https://gerrit.libreoffice.org/46079 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 4f0d5d7a2431bf5e132bdcd85285c10c0fd21322) l10n: Make sure to distinct between apps + between main menu and context menu. The strings can differ considerably, making some menu entries not understandable at all. Change-Id: I36ffa8b01df119a7655a711ec859391af16836c9 Reviewed-on: https://gerrit.libreoffice.org/46097 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 53d9593edb32bbc5db3fe430ac5f20a1bdd4e127) l10n: Fix the Table menu in Impress. Change-Id: I2cb8b98ecc1a18174b26dfaa9c96ad3829ff5989 Reviewed-on: https://gerrit.libreoffice.org/46099 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit be100fe06abbeabed05b0c8a02c4f6067fcfc774) l10n: first check for 'lang', then require unocommands Change-Id: Ib8f94bbdd163a89bef4886d68816628e124e9ef8 (cherry picked from commit d94a53a0e363f6edf3a139d26c4b9603ef14389f) l10n: get Language menu translations for free Change-Id: I8b5628457cf713d8fdb0d4de6935b7e1d54ad093 Reviewed-on: https://gerrit.libreoffice.org/46158 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 53b8a60d5d85fc1a3909809ea51a23cb20453bea) l10n: Calc and Impress should use _UNO('.uno:LanguageMenu') too. Change-Id: I987821d9d9b0f40baea1879d28177e8e0c58a3a3 Reviewed-on: https://gerrit.libreoffice.org/46418 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit ba61ec9da2c073d2d728c5bb8df8912f5117fd5e) l10n: Calc row, column and sheet tab context menu translations from LibreOffice Change-Id: I1f566a71e5fdc66304e82bc2bcfb0f9ced2f5d2a Reviewed-on: https://gerrit.libreoffice.org/46430 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit e8847b9ef174288b73650a4e63e8a6b0cfb43b4c) l10n: Some toolbar button tooltip translations from LibreOffice Change-Id: I4a8d050c7ae8efc7d1932f16dc35455f1a182d8a Reviewed-on: https://gerrit.libreoffice.org/46444 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit d51a760957480ea412519f677dae7a2294c324cd) l10n: localize 'Undo' and 'Redo' labels on Document Repair dialog Change-Id: Ibd4236f85a6db92b7d6456f6f22115b35079da83 Reviewed-on: https://gerrit.libreoffice.org/47252 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f8bf2c28608c139279aaa484603da8cc539ff948) l10n: 5 more toolbar strings from LO core Change-Id: I398a0d7c28a8295c3b8e5077903b5fa7d3d5c45c Reviewed-on: https://gerrit.libreoffice.org/47310 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2017-12-06 11:36:14 -06:00
FormatSpacingMenu:{global:{menu:_('~Spacing'),},},
FormatTextMenu:{global:{menu:_('Te~xt'),},},
FormattingMarkMenu:{global:{menu:_('Formatting Mark'),},},
FullScreen:{global:{menu:_('F~ull Screen'),},},
Group:{global:{menu:_('~Group...'),},},
GroupOutlineMenu:{spreadsheet:{menu:_('~Group and Outline'),},},
Grow:{global:{menu:_('Increase Size'),},},
HelpMenu:{global:{menu:_('~Help'),},},
HideColumn:{spreadsheet:{context:_('H~ide Columns'),menu:_('~Hide'),},},
HideDetail:{global:{menu:_('~Hide Details'),},},
HideRow:{spreadsheet:{context:_('H~ide Rows'),menu:_('H~ide'),},},
HyperlinkDialog:{global:{menu:_('~Hyperlink...'),},},
IncrementIndent:{global:{context:_('Increase Indent'),menu:_('Increase Indent'),},},
IncrementLevel:{text:{menu:_('Promote One Level'),},},
IncrementSubLevels:{text:{menu:_('Promote One Level With Subpoints'),},},
InsertAnnotation:{global:{context:_('Insert Comment'),menu:_('Comme~nt'),},presentation:{menu:_('Comme~nt'),},spreadsheet:{context:_('Insert Co~mment'),menu:_('Comm~ent'),},},
InsertColumnBreak:{spreadsheet:{menu:_('~Column Break'),},text:{menu:_('Insert Column Break'),},},
InsertColumns:{presentation:{menu:_('Insert Column'),},spreadsheet:{menu:_('Columns ~Left'),},text:{menu:_('Insert Column'),},},
InsertColumnsAfter:{presentation:{menu:_('Insert Column Right'),},spreadsheet:{context:_('Insert Columns ~Right'),menu:_('Columns ~Right'),},text:{menu:_('Columns R~ight'),},},
InsertColumnsBefore:{presentation:{menu:_('Insert Column Left'),},spreadsheet:{context:_('Insert Columns ~Left'),menu:_('Columns ~Left'),},text:{menu:_('Columns ~Left'),},},
InsertEndnote:{text:{menu:_('~Endnote'),},},
InsertFootnote:{text:{context:_('Insert Footnote'),menu:_('~Footnote'),},},
InsertGraphic:{global:{context:_('Insert Image...'),menu:_('~Image...'),},},
InsertHardHyphen:{global:{menu:_('Non-br~eaking hyphen'),},},
InsertHeaderFooterMenu:{text:{menu:_('He~ader and Footer'),},},
InsertIndexesEntry:{text:{menu:_('~Index Entry...'),},},
InsertLRM:{global:{menu:_('~Left-to-right mark'),},},
InsertMenu:{global:{menu:_('~Insert'),},},
InsertNeutralParagraph:{text:{menu:_('Insert Unnumbered Entry'),},},
InsertNonBreakingSpace:{global:{menu:_('~Non-breaking space'),},},
InsertPageFooter:{text:{menu:_('Foote~r'),},},
InsertPageHeader:{text:{menu:_('He~ader'),},},
InsertPagebreak:{text:{menu:_('~Page Break'),},},
InsertRLM:{global:{menu:_('~Right-to-left mark'),},},
InsertRows:{presentation:{menu:_('Insert Row'),},spreadsheet:{menu:_('Rows ~Above'),},text:{menu:_('Insert Row'),},},
InsertRowsAfter:{presentation:{menu:_('Insert Row Below'),},spreadsheet:{context:_('Insert Rows ~Below'),menu:_('Rows ~Below'),},text:{menu:_('Rows ~Below'),},},
InsertRowsBefore:{presentation:{menu:_('Insert Row Above'),},spreadsheet:{context:_('Insert Rows ~Above'),menu:_('Rows ~Above'),},text:{menu:_('Rows ~Above'),},},
InsertSlide:{presentation:{menu:_('~New Slide'),},},
InsertSoftHyphen:{global:{menu:_('S~oft hyphen'),},},
InsertSymbol:{global:{context:_('Insert Special Character'),menu:_('S~pecial Character...'),},},
InsertZWNBSP:{global:{menu:_('No-width no ~break'),},},
InsertZWSP:{global:{menu:_('No-~width optional break'),},},
Italic:{global:{menu:_('Italic'),},},
JumpDownThisLevel:{text:{menu:_('To Next Paragraph in Level'),},},
JumpUpThisLevel:{text:{menu:_('To Previous Paragraph in Level'),},},
JustifyPara:{global:{menu:_('Justified'),},},
LanguageMenu:{global:{menu:_('Language'),},},
LayoutStatus:{presentation:{menu:_('Layout'),},},
LeftPara:{global:{context:_('Align Left'),menu:_('Left'),},},
MergeCells:{presentation:{menu:_('Merge Cells'),},spreadsheet:{menu:_('Merge Cells'),},text:{menu:_('Merge Cells'),},},
MoveDown:{text:{menu:_('Move Down'),},},
MoveDownSubItems:{text:{menu:_('Move Down with Subpoints'),},},
MoveUp:{text:{menu:_('Move Up'),},},
MoveUpSubItems:{text:{menu:_('Move Up with Subpoints'),},},
NextTrackedChange:{text:{menu:_('Next'),},},
NumberFormatCurrency:{spreadsheet:{context:_('Format as Currency'),menu:_('Currency'),},text:{menu:_('Number Format: Currency'),},},
NumberFormatDate:{spreadsheet:{context:_('Format as Date'),menu:_('Date'),},text:{menu:_('Number Format: Date'),},},
NumberFormatDecDecimals:{spreadsheet:{menu:_('Delete Decimal Place'),},},
NumberFormatDecimal:{spreadsheet:{context:_('Format as Number'),menu:_('Number'),},text:{menu:_('Number Format: Decimal'),},},
NumberFormatIncDecimals:{spreadsheet:{menu:_('Add Decimal Place'),},},
NumberFormatPercent:{spreadsheet:{context:_('Format as Percent'),menu:_('Percent'),},text:{menu:_('Number Format: Percent'),},},
NumberingStart:{text:{menu:_('Restart Numbering'),},},
ObjectBackOne:{global:{menu:_('Back One'),},},
ObjectForwardOne:{global:{menu:_('Forward One'),},},
OpenHyperlinkOnCursor:{global:{menu:_('Open Hyperlink'),},},
OutlineBullet:{global:{menu:_('~Bullets and Numbering...'),},},
OutlineFont:{global:{menu:_('Outline'),},},
Overline:{global:{menu:_('Overline'),},},
PageDown:{text:{menu:_('Next Page'),},},
PageUp:{text:{menu:_('Previous Page'),},},
ParaLeftToRight:{global:{menu:_('Left-To-Right'),},},
ParaRightToLeft:{global:{menu:_('Right-To-Left'),},},
ParagraphDialog:{global:{menu:_('P~aragraph...'),},},
ParaspaceDecrease:{global:{menu:_('Decrease Paragraph Spacing'),},},
ParaspaceIncrease:{global:{menu:_('Increase Paragraph Spacing'),},},
Paste:{global:{menu:_('~Paste'),},},
PasteSpecialMenu:{global:{menu:_('Paste ~Special'),},},
PasteUnformatted:{global:{context:_('~Unformatted Text'),menu:_('Paste Unformatted Text'),},},
PickList:{global:{menu:_('~File'),},},
PreviousTrackedChange:{text:{menu:_('Pr~evious'),},},
Print:{global:{menu:_('~Print...'),},},
RecalcPivotTable:{spreadsheet:{menu:_('~Refresh'),},},
Redo:{global:{menu:_('~Redo'),},},
RejectAllTrackedChanges:{text:{menu:_('Reject All'),},},
Remove:{spreadsheet:{menu:_('~Delete Sheet...'),},},
RemoveHyperlink:{text:{menu:_('Remove Hyperlink'),},},
RemoveTableOf:{text:{menu:_('Delete index'),},},
RenameTable:{spreadsheet:{menu:_('~Rename Sheet...'),},},
ReplyComment:{global:{menu:_('Reply Comment'),},},
ResetAttributes:{global:{menu:_('~Clear Direct Formatting'),},spreadsheet:{menu:_('Clear ~Direct Formatting'),},text:{menu:_('Clear ~Direct Formatting'),},},
RightPara:{global:{context:_('Align Right'),menu:_('Right'),},},
RotateLeft:{text:{menu:_('Rotate 90° ~Left'),},},
RotateMenu:{global:{menu:_('Rot~ate'),},},
RotateRight:{text:{menu:_('Rotate 90° ~Right'),},},
Save:{global:{menu:_('~Save'),},},
SaveAs:{global:{menu:_('Save ~As...'),},},
SearchDialog:{global:{menu:_('Find & Rep~lace...'),},},
SelectAll:{global:{menu:_('Select ~All'),},},
SelectTable:{presentation:{menu:_('~Table'),},text:{menu:_('~Table'),},},
SendToBack:{global:{menu:_('~Send to Back'),},},
SetAnchorAtChar:{text:{menu:_('To ~Character'),},},
SetAnchorToChar:{text:{menu:_('As C~haracter'),},},
SetAnchorToFrame:{text:{menu:_('To ~Frame'),},},
SetAnchorToPage:{spreadsheet:{menu:_('To P~age'),},text:{menu:_('To P~age'),},},
SetAnchorToPara:{text:{menu:_('To ~Paragraph'),},},
SetLanguageAllTextMenu:{global:{menu:_('For All Text'),},},
SetLanguageParagraphMenu:{global:{menu:_('For Paragraph'),},},
SetLanguageSelectionMenu:{global:{menu:_('For Selection'),},},
SetOptimalColumnWidth:{spreadsheet:{menu:_('~Optimal Width...'),},text:{menu:_('Optimal Column Width'),},},
SetOptimalRowHeight:{spreadsheet:{menu:_('~Optimal Height...'),},text:{menu:_('Optimal Row Height'),},},
Shadowed:{global:{menu:_('Shadow'),},},
SheetMenu:{spreadsheet:{menu:_('~Sheet'),},},
ShowColumn:{spreadsheet:{context:_('S~how Columns'),menu:_('~Show'),},},
ShowDetail:{global:{menu:_('~Show Details'),},},
ShowRow:{spreadsheet:{context:_('Sho~w Rows'),menu:_('~Show'),},},
ShowTrackedChanges:{text:{menu:_('~Show'),},},
Shrink:{global:{menu:_('Decrease Size'),},},
SlideMenu:{presentation:{menu:_('S~lide'),},},
SmallCaps:{global:{menu:_('Small capitals'),},},
SortAscending:{spreadsheet:{menu:_('Sort Ascending'),},},
SortDescending:{spreadsheet:{menu:_('Sort Descending'),},},
SpacePara1:{global:{menu:_('Line Spacing: 1'),},},
SpacePara15:{global:{menu:_('Line Spacing: 1.5'),},},
SpacePara2:{global:{menu:_('Line Spacing: 2'),},},
SpellOnline:{global:{menu:_('~Automatic Spell Checking'),},},
SpellingAndGrammarDialog:{global:{menu:_('~Spelling...'),},},
SplitCell:{presentation:{menu:_('Split Cells'),},spreadsheet:{menu:_('Split Cells'),},text:{menu:_('Split Cells...'),},},
Strikeout:{global:{menu:_('Strikethrough'),},},
SubScript:{global:{menu:_('Subscript'),},text:{menu:_('Subscript'),},},
SuperScript:{global:{menu:_('Superscript'),},text:{menu:_('Superscript'),},},
TableDeleteMenu:{text:{menu:_('~Delete'),},},
TableDialog:{presentation:{menu:_('Ta~ble Properties...'),},text:{menu:_('~Properties...'),},},
TableInsertMenu:{text:{menu:_('~Insert'),},},
TableMenu:{text:{menu:_('T~able'),},},
TableSelectMenu:{text:{menu:_('~Select'),},},
TaskPaneInsertPage:{presentation:{menu:_('Insert Slide'),},},
TextAlign:{global:{menu:_('Alig~n'),},},
ToggleMergeCells:{spreadsheet:{menu:_('M~erge and Center Cells'),},},
ToolsMenu:{global:{menu:_('~Tools'),},},
TrackChanges:{text:{menu:_('~Record'),},},
TransformDialog:{global:{menu:_('Position and Si~ze...'),},},
l10n: use translations of .uno: commands from LibreOffice This is a combination of 22 commits. l10n: New script for collecting the used .uno: commands. Change-Id: I9c6f3f03a4042f8e5ba1f258ce468fc0f4abd169 Reviewed-on: https://gerrit.libreoffice.org/45981 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 99161841dcee3b066153a7f7af0e98d6ef7f8a2c) l10n: Don't repeat the strings in the menu definition, use the uno commands. Change-Id: If8ccd753cd88056c64c10e3f9f7b951208fafdb8 Reviewed-on: https://gerrit.libreoffice.org/45983 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 5b87f2fca5d6f84d0ac637021e87e2dc41dd13c7) l10n: "type: 'unocommand'" is implicit when there is "uno:" in the item. Change-Id: I2fe50e4860848920f551cc6a3fda5ebe5f49b3f2 Reviewed-on: https://gerrit.libreoffice.org/46011 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit d38664c023f374dc66361d00be89c08a0e5bbc20) l10n: Fix mis-typed .uno: commands. Change-Id: Ia2d695d584d48b92def364c3936655909aabd076 Reviewed-on: https://gerrit.libreoffice.org/46012 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit e68789ac2c9c3bfa661ae815ff27cd4bb038bc2c) l10n: Don't extract uno: when name: is provided for that entry. Change-Id: I85619915cf66a71c7ab982c2949390bd82df9abb Reviewed-on: https://gerrit.libreoffice.org/46013 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 293c5d45083823ae1c1f4e0519928c0b5d23dced) l10n: Implement --check to notice not covered .uno: commands early. Change-Id: I928f2cef8d9a869c10fa6c6370a7ce1c811631c8 Reviewed-on: https://gerrit.libreoffice.org/46014 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 457f929357adf7f52e0fc9281d41df3f29859467) l10n: Further decrease the use of own Online strings... ...if those can be deducted from .uno: commands. Change-Id: I9c2459a12ee95e936a7ec37f6270012d811cdf86 Reviewed-on: https://gerrit.libreoffice.org/46018 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 70ecee2bb6398aafdf6c71aeecf6e9eb6330fb70) l10n: Let's avoid redirect, and write the unocommands.js directly. Change-Id: Ifda0de27881ba415ff062368483524080dce5189 Reviewed-on: https://gerrit.libreoffice.org/46020 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b6fa6f376c41d6787ab1cbb52218e7ff1064b83a) l10n: Generate translations of the .uno: commands + update the current ones. Change-Id: I77377412e4776a830f15973a35b83e8eca299f05 Reviewed-on: https://gerrit.libreoffice.org/46047 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit b2bfb2349ec2934a611bb4c1393e9f17aedb0ba2) l10n: Translate also the right-click menu .uno: commands. Change-Id: Ie5cedaaa10febe78ba319f9e9b03fdd44c94f468 Reviewed-on: https://gerrit.libreoffice.org/46048 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 861c252d5204dfac7b8f5fb4505efcc29eafeb3d) l10n: len(sys.argv) is 1, when the command is invoked without options Change-Id: Ie9a47955e9a031ee0484c0703f67bad7077bbd76 Reviewed-on: https://gerrit.libreoffice.org/46078 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f096cf33977620f368ecc7c5b64164ab2303060b) l10n: remove obsolete unocommandsl10n.sh Change-Id: I4e9945407aff4a4fa1444079f8ecec1782a71c9c Reviewed-on: https://gerrit.libreoffice.org/46079 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 4f0d5d7a2431bf5e132bdcd85285c10c0fd21322) l10n: Make sure to distinct between apps + between main menu and context menu. The strings can differ considerably, making some menu entries not understandable at all. Change-Id: I36ffa8b01df119a7655a711ec859391af16836c9 Reviewed-on: https://gerrit.libreoffice.org/46097 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 53d9593edb32bbc5db3fe430ac5f20a1bdd4e127) l10n: Fix the Table menu in Impress. Change-Id: I2cb8b98ecc1a18174b26dfaa9c96ad3829ff5989 Reviewed-on: https://gerrit.libreoffice.org/46099 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit be100fe06abbeabed05b0c8a02c4f6067fcfc774) l10n: first check for 'lang', then require unocommands Change-Id: Ib8f94bbdd163a89bef4886d68816628e124e9ef8 (cherry picked from commit d94a53a0e363f6edf3a139d26c4b9603ef14389f) l10n: get Language menu translations for free Change-Id: I8b5628457cf713d8fdb0d4de6935b7e1d54ad093 Reviewed-on: https://gerrit.libreoffice.org/46158 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 53b8a60d5d85fc1a3909809ea51a23cb20453bea) l10n: Calc and Impress should use _UNO('.uno:LanguageMenu') too. Change-Id: I987821d9d9b0f40baea1879d28177e8e0c58a3a3 Reviewed-on: https://gerrit.libreoffice.org/46418 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit ba61ec9da2c073d2d728c5bb8df8912f5117fd5e) l10n: Calc row, column and sheet tab context menu translations from LibreOffice Change-Id: I1f566a71e5fdc66304e82bc2bcfb0f9ced2f5d2a Reviewed-on: https://gerrit.libreoffice.org/46430 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit e8847b9ef174288b73650a4e63e8a6b0cfb43b4c) l10n: Some toolbar button tooltip translations from LibreOffice Change-Id: I4a8d050c7ae8efc7d1932f16dc35455f1a182d8a Reviewed-on: https://gerrit.libreoffice.org/46444 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit d51a760957480ea412519f677dae7a2294c324cd) l10n: localize 'Undo' and 'Redo' labels on Document Repair dialog Change-Id: Ibd4236f85a6db92b7d6456f6f22115b35079da83 Reviewed-on: https://gerrit.libreoffice.org/47252 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f8bf2c28608c139279aaa484603da8cc539ff948) l10n: 5 more toolbar strings from LO core Change-Id: I398a0d7c28a8295c3b8e5077903b5fa7d3d5c45c Reviewed-on: https://gerrit.libreoffice.org/47310 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2017-12-06 11:36:14 -06:00
Underline:{global:{menu:_('Underline'),},},
UnderlineDouble:{presentation:{menu:_('Double Underline '),},spreadsheet:{menu:_('Underline: Double'),},text:{menu:_('Double Underline '),},},
Undo:{global:{menu:_('Undo'),},},
Ungroup:{global:{menu:_('~Ungroup...'),},},
UpSearch:{global:{menu:_('Find Previous'),},},
UpdateCurIndex:{text:{context:_('Update index'),menu:_('Current ~Index'),},},
ViewMenu:{global:{menu:_('~View'),},},
WordCountDialog:{text:{menu:_('~Word Count'),},},
WrapAnchorOnly:{text:{menu:_('~First Paragraph'),},},
WrapContour:{text:{menu:_('~Contour'),},},
WrapIdeal:{text:{menu:_('~Optimal Page Wrap'),},},
WrapLeft:{text:{menu:_('Wrap Left'),},},
WrapMenu:{text:{menu:_('~Wrap'),},},
WrapOff:{text:{menu:_('Wrap Off'),},},
WrapOn:{text:{menu:_('~Page Wrap'),},},
WrapRight:{text:{menu:_('Wrap Right'),},},
WrapText:{spreadsheet:{menu:_('Wrap Text'),},},
WrapThrough:{text:{menu:_('~Wrap Through'),},},
WrapThroughTransparent:{text:{menu:_('In ~Background'),},},
ZoomMinus:{global:{menu:_('Zoom Out'),},},
ZoomPlus:{global:{menu:_('Zoom In'),},},
};
global._UNO = function(string, component, isContext) {
var command = string.substr(5);
var context = 'menu';
if (isContext === true) {
context = 'context';
}
var entry = unoCommandsArray[command];
if (entry === undefined) {
return command;
}
var componentEntry = entry[component];
if (componentEntry === undefined) {
componentEntry = entry['global'];
if (componentEntry === undefined) {
return command;
}
}
var text = componentEntry[context];
if (text === undefined) {
text = componentEntry['menu'];
if (text === undefined) {
return command;
}
}
return text.replace('~', '');
}