loleaflet: rename menu/toolbar items for Insert Image

Change-Id: I8cd04da84ab63e67353291acc5f9c9782cd7ea9d
This commit is contained in:
Andras Timar 2018-11-08 15:48:33 +01:00
parent 1521685c81
commit ea9515ccf6
3 changed files with 11 additions and 7 deletions

View file

@ -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'}
],

View file

@ -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 <LL@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 ""

View file

@ -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'},