loleaflet/js/toolbar.js | 4 ++-- loleaflet/po/templates/loleaflet-ui.pot | 10 +++++++--- loleaflet/src/control/Control.Menubar.js | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-)
New commits: commit ea9515ccf6d7a5a215566aa98531136aee33a404 Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Thu Nov 8 15:48:33 2018 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Nov 8 15:48:33 2018 +0100 loleaflet: rename menu/toolbar items for Insert Image Change-Id: I8cd04da84ab63e67353291acc5f9c9782cd7ea9d diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js index 4391c8472..07b11d2e7 100644 --- a/loleaflet/js/toolbar.js +++ b/loleaflet/js/toolbar.js @@ -679,8 +679,8 @@ function createToolbar() { {type: 'button', id: 'insertgraphic', img: 'insertgraphic', hint: _UNO('.uno:InsertGraphic', '', true)}, {type: 'menu', id: 'menugraphic', img: 'insertgraphic', hint: _UNO('.uno:InsertGraphic', '', true), hidden: true, items: [ - {id: 'localgraphic', text: _UNO('.uno:InsertGraphic', '', true), icon: 'insertgraphic'}, - {id: 'remotegraphic', text: _('Remote Image...'), icon: 'insertgraphic'} + {id: 'localgraphic', text: _('Insert Local Image'), icon: 'insertgraphic'}, + {id: 'remotegraphic', text: _UNO('.uno:InsertGraphic', '', true), icon: 'insertgraphic'}, ]}, {type: 'button', id: 'specialcharacter', img: 'specialcharacter', hint: _UNO('.uno:InsertSymbol', '', true), uno: '.uno:InsertSymbol'} ], diff --git a/loleaflet/po/templates/loleaflet-ui.pot b/loleaflet/po/templates/loleaflet-ui.pot index 02a4aec1a..126ae27ec 100644 --- a/loleaflet/po/templates/loleaflet-ui.pot +++ b/loleaflet/po/templates/loleaflet-ui.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-06 22:00+0100\n" +"POT-Creation-Date: 2018-11-08 15:46+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" @@ -306,8 +306,8 @@ msgstr "" msgid "Insert shapes" msgstr "" -#: js/toolbar.js:683 src/control/Control.Menubar.js:69 -msgid "Remote Image..." +#: js/toolbar.js:682 +msgid "Insert Local Image" msgstr "" #: js/toolbar.js:730 js/toolbar.js:1209 @@ -628,6 +628,10 @@ msgstr "" msgid "Repair" msgstr "" +#: src/control/Control.Menubar.js:68 +msgid "Local Image..." +msgstr "" + #: src/control/Control.Menubar.js:84 src/control/Control.Menubar.js:86 msgid "All" msgstr "" diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index 740d91378..1ecf9f695 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -65,8 +65,8 @@ L.Control.Menubar = L.Control.extend({ ] }, {name: _UNO('.uno:InsertMenu', 'text'), type: 'menu', menu: [ - {name: _UNO('.uno:InsertGraphic', 'text'), id: 'insertgraphic', type: 'action'}, - {name: _('Remote Image...'), id: 'insertgraphicremote', type: 'action'}, + {name: _('Local Image...'), id: 'insertgraphic', type: 'action'}, + {name: _UNO('.uno:InsertGraphic', 'text'), id: 'insertgraphicremote', type: 'action'}, {name: _UNO('.uno:InsertAnnotation', 'text'), id: 'insertcomment', type: 'action'}, {uno: '.uno:InsertObjectChart'}, {type: 'separator'}, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits