[Libreoffice-commits] online.git: loleaflet/po loleaflet/src
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 13 15:00:05 UTC 2020
loleaflet/po/templates/loleaflet-ui.pot | 139 ++++++++++++++++---------------
loleaflet/src/control/Control.Menubar.js | 7 +
2 files changed, 78 insertions(+), 68 deletions(-)
New commits:
commit e199bcc72d25316e65857b934fe253cbc6550934
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Sat Jan 11 23:47:26 2020 +0100
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Mon Jan 13 15:59:46 2020 +0100
add 'Report an issue' item to the Help menu
if unwanted, this menu item can be hidden with branding.css
#menu-report-an-issue {
display: none;
}
Change-Id: Ic3fc3a74e8bea0b68ced542423c6068b150f647b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86632
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/loleaflet/po/templates/loleaflet-ui.pot b/loleaflet/po/templates/loleaflet-ui.pot
index 70a6ea794..e08dff0f6 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: 2020-01-03 15:11+0100\n"
+"POT-Creation-Date: 2020-01-11 23:45+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -182,11 +182,11 @@ msgstr ""
msgid "Connection error"
msgstr ""
-#: admin/src/AdminSocketOverview.js:102
+#: admin/src/AdminSocketOverview.js:105
msgid "Are you sure you want to terminate this session?"
msgstr ""
-#: admin/src/AdminSocketOverview.js:183 admin/src/AdminSocketOverview.js:285
+#: admin/src/AdminSocketOverview.js:186 admin/src/AdminSocketOverview.js:288
msgid "Documents"
msgstr ""
@@ -318,59 +318,59 @@ msgstr ""
msgid "Fixed size"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:736
+#: src/control/Control.JSDialogBuilder.js:741
#: src/control/Control.Toolbar.js:1588
msgid "None"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:739
+#: src/control/Control.JSDialogBuilder.js:744
msgid "Color"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:742
+#: src/control/Control.JSDialogBuilder.js:747
msgid "Gradient"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:745
+#: src/control/Control.JSDialogBuilder.js:750
msgid "Hatching"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:749
+#: src/control/Control.JSDialogBuilder.js:754
msgid "Pattern"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:882
+#: src/control/Control.JSDialogBuilder.js:887
msgid "From"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:885
+#: src/control/Control.JSDialogBuilder.js:890
msgid "To"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:1017
+#: src/control/Control.JSDialogBuilder.js:1022
msgid "Font Name"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:1019
+#: src/control/Control.JSDialogBuilder.js:1024
msgid "Font Size"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:1473
+#: src/control/Control.JSDialogBuilder.js:1478
msgid "Rows"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:1474
+#: src/control/Control.JSDialogBuilder.js:1479
msgid "Columns"
msgstr ""
-#: src/control/Control.JSDialogBuilder.js:1494
+#: src/control/Control.JSDialogBuilder.js:1499
#: src/control/Control.Toolbar.js:945
msgid "Insert table"
msgstr ""
#: src/control/Control.LanguageDialog.js:69 src/control/Control.Menubar.js:227
#: src/control/Control.Menubar.js:229 src/control/Control.Menubar.js:231
-#: src/control/Control.Menubar.js:337 src/control/Control.Menubar.js:451
+#: src/control/Control.Menubar.js:338 src/control/Control.Menubar.js:453
#: src/control/Control.Toolbar.js:1975
msgid "None (Do not check spelling)"
msgstr ""
@@ -380,63 +380,63 @@ msgstr ""
msgid "Cancel"
msgstr ""
-#: src/control/Control.Menubar.js:21 src/control/Control.Menubar.js:250
-#: src/control/Control.Menubar.js:351 src/control/Control.Menubar.js:466
-#: src/control/Control.Menubar.js:509 src/control/Control.Menubar.js:553
+#: src/control/Control.Menubar.js:21 src/control/Control.Menubar.js:251
+#: src/control/Control.Menubar.js:353 src/control/Control.Menubar.js:469
+#: src/control/Control.Menubar.js:513 src/control/Control.Menubar.js:558
msgid "Share..."
msgstr ""
-#: src/control/Control.Menubar.js:23 src/control/Control.Menubar.js:252
-#: src/control/Control.Menubar.js:353 src/control/Control.Menubar.js:468
-#: src/control/Control.Menubar.js:511 src/control/Control.Menubar.js:555
+#: src/control/Control.Menubar.js:23 src/control/Control.Menubar.js:253
+#: src/control/Control.Menubar.js:355 src/control/Control.Menubar.js:471
+#: src/control/Control.Menubar.js:515 src/control/Control.Menubar.js:560
msgid "See revision history"
msgstr ""
-#: src/control/Control.Menubar.js:24 src/control/Control.Menubar.js:253
-#: src/control/Control.Menubar.js:354 src/control/Control.Menubar.js:471
-#: src/control/Control.Menubar.js:513 src/control/Control.Menubar.js:557
+#: src/control/Control.Menubar.js:24 src/control/Control.Menubar.js:254
+#: src/control/Control.Menubar.js:356 src/control/Control.Menubar.js:474
+#: src/control/Control.Menubar.js:517 src/control/Control.Menubar.js:562
msgid "Download as"
msgstr ""
-#: src/control/Control.Menubar.js:25 src/control/Control.Menubar.js:254
-#: src/control/Control.Menubar.js:355 src/control/Control.Menubar.js:472
-#: src/control/Control.Menubar.js:514 src/control/Control.Menubar.js:558
+#: src/control/Control.Menubar.js:25 src/control/Control.Menubar.js:255
+#: src/control/Control.Menubar.js:357 src/control/Control.Menubar.js:475
+#: src/control/Control.Menubar.js:518 src/control/Control.Menubar.js:563
msgid "PDF Document (.pdf)"
msgstr ""
-#: src/control/Control.Menubar.js:26 src/control/Control.Menubar.js:473
+#: src/control/Control.Menubar.js:26 src/control/Control.Menubar.js:476
msgid "ODF text document (.odt)"
msgstr ""
-#: src/control/Control.Menubar.js:27 src/control/Control.Menubar.js:474
+#: src/control/Control.Menubar.js:27 src/control/Control.Menubar.js:477
msgid "Word 2003 Document (.doc)"
msgstr ""
-#: src/control/Control.Menubar.js:28 src/control/Control.Menubar.js:475
+#: src/control/Control.Menubar.js:28 src/control/Control.Menubar.js:478
msgid "Word Document (.docx)"
msgstr ""
-#: src/control/Control.Menubar.js:29 src/control/Control.Menubar.js:476
+#: src/control/Control.Menubar.js:29 src/control/Control.Menubar.js:479
msgid "Rich Text (.rtf)"
msgstr ""
-#: src/control/Control.Menubar.js:30 src/control/Control.Menubar.js:469
+#: src/control/Control.Menubar.js:30 src/control/Control.Menubar.js:472
#: src/control/Signing.js:601
msgid "Sign document"
msgstr ""
-#: src/control/Control.Menubar.js:32 src/control/Control.Menubar.js:259
-#: src/control/Control.Menubar.js:360
+#: src/control/Control.Menubar.js:32 src/control/Control.Menubar.js:260
+#: src/control/Control.Menubar.js:362
msgid "Close document"
msgstr ""
-#: src/control/Control.Menubar.js:37 src/control/Control.Menubar.js:264
-#: src/control/Control.Menubar.js:365 src/control/Control.Menubar.js:481
-#: src/control/Control.Menubar.js:522 src/control/Control.Menubar.js:566
+#: src/control/Control.Menubar.js:37 src/control/Control.Menubar.js:265
+#: src/control/Control.Menubar.js:367 src/control/Control.Menubar.js:484
+#: src/control/Control.Menubar.js:526 src/control/Control.Menubar.js:571
msgid "Repair"
msgstr ""
-#: src/control/Control.Menubar.js:63 src/control/Control.Menubar.js:278
+#: src/control/Control.Menubar.js:63 src/control/Control.Menubar.js:279
#: src/control/Control.Toolbar.js:1147
msgid "Reset zoom"
msgstr ""
@@ -445,14 +445,14 @@ msgstr ""
msgid "Show Ruler"
msgstr ""
-#: src/control/Control.Menubar.js:74 src/control/Control.Menubar.js:290
-#: src/control/Control.Menubar.js:380 src/control/Control.Menubar.js:613
-#: src/control/Control.Menubar.js:653 src/control/Control.Menubar.js:664
+#: src/control/Control.Menubar.js:74 src/control/Control.Menubar.js:291
+#: src/control/Control.Menubar.js:382 src/control/Control.Menubar.js:619
+#: src/control/Control.Menubar.js:659 src/control/Control.Menubar.js:673
msgid "Local Image..."
msgstr ""
#: src/control/Control.Menubar.js:91 src/control/Control.Menubar.js:93
-#: src/control/Control.Menubar.js:629 src/control/Control.Menubar.js:631
+#: src/control/Control.Menubar.js:635 src/control/Control.Menubar.js:637
msgid "All"
msgstr ""
@@ -460,70 +460,75 @@ msgstr ""
msgid "Text orientation"
msgstr ""
-#: src/control/Control.Menubar.js:239 src/control/Control.Menubar.js:340
-#: src/control/Control.Menubar.js:455
+#: src/control/Control.Menubar.js:239 src/control/Control.Menubar.js:341
+#: src/control/Control.Menubar.js:457
msgid "Online Help"
msgstr ""
-#: src/control/Control.Menubar.js:240 src/control/Control.Menubar.js:341
-#: src/control/Control.Menubar.js:456
+#: src/control/Control.Menubar.js:240 src/control/Control.Menubar.js:342
+#: src/control/Control.Menubar.js:458
msgid "Keyboard shortcuts"
msgstr ""
-#: src/control/Control.Menubar.js:241 src/control/Control.Menubar.js:342
-#: src/control/Control.Menubar.js:457 src/control/Control.Menubar.js:502
-#: src/control/Control.Menubar.js:546 src/control/Control.Menubar.js:607
+#: src/control/Control.Menubar.js:241 src/control/Control.Menubar.js:343
+#: src/control/Control.Menubar.js:459
+msgid "Report an issue"
+msgstr ""
+
+#: src/control/Control.Menubar.js:242 src/control/Control.Menubar.js:344
+#: src/control/Control.Menubar.js:460 src/control/Control.Menubar.js:506
+#: src/control/Control.Menubar.js:551 src/control/Control.Menubar.js:613
msgid "About"
msgstr ""
-#: src/control/Control.Menubar.js:243 src/control/Control.Menubar.js:344
-#: src/control/Control.Menubar.js:459 src/map/Map.js:377
+#: src/control/Control.Menubar.js:244 src/control/Control.Menubar.js:346
+#: src/control/Control.Menubar.js:462 src/map/Map.js:377
msgid "Last modification"
msgstr ""
-#: src/control/Control.Menubar.js:255 src/control/Control.Menubar.js:515
+#: src/control/Control.Menubar.js:256 src/control/Control.Menubar.js:519
msgid "ODF presentation (.odp)"
msgstr ""
-#: src/control/Control.Menubar.js:256 src/control/Control.Menubar.js:516
+#: src/control/Control.Menubar.js:257 src/control/Control.Menubar.js:520
msgid "PowerPoint 2003 Presentation (.ppt)"
msgstr ""
-#: src/control/Control.Menubar.js:257 src/control/Control.Menubar.js:517
+#: src/control/Control.Menubar.js:258 src/control/Control.Menubar.js:521
msgid "PowerPoint Presentation (.pptx)"
msgstr ""
-#: src/control/Control.Menubar.js:331 src/control/Control.Menubar.js:545
+#: src/control/Control.Menubar.js:332 src/control/Control.Menubar.js:550
#: src/control/Control.Toolbar.js:1100
msgid "Fullscreen presentation"
msgstr ""
-#: src/control/Control.Menubar.js:356 src/control/Control.Menubar.js:559
+#: src/control/Control.Menubar.js:358 src/control/Control.Menubar.js:564
msgid "ODF spreadsheet (.ods)"
msgstr ""
-#: src/control/Control.Menubar.js:357 src/control/Control.Menubar.js:560
+#: src/control/Control.Menubar.js:359 src/control/Control.Menubar.js:565
msgid "Excel 2003 Spreadsheet (.xls)"
msgstr ""
-#: src/control/Control.Menubar.js:358 src/control/Control.Menubar.js:561
+#: src/control/Control.Menubar.js:360 src/control/Control.Menubar.js:566
msgid "Excel Spreadsheet (.xlsx)"
msgstr ""
-#: src/control/Control.Menubar.js:471 src/control/Control.Menubar.js:513
-#: src/control/Control.Menubar.js:557
+#: src/control/Control.Menubar.js:474 src/control/Control.Menubar.js:517
+#: src/control/Control.Menubar.js:562
msgid "Export as"
msgstr ""
-#: src/control/Control.Menubar.js:739 src/control/Control.Toolbar.js:1974
+#: src/control/Control.Menubar.js:759 src/control/Control.Toolbar.js:1974
msgid "Reset to Default Language"
msgstr ""
-#: src/control/Control.Menubar.js:1124
+#: src/control/Control.Menubar.js:1144
msgid "Are you sure you want to delete this slide?"
msgstr ""
-#: src/control/Control.Menubar.js:1156 src/map/Clipboard.js:768
+#: src/control/Control.Menubar.js:1178 src/map/Clipboard.js:768
msgid ""
"<p>Your browser has very limited access to the clipboard, so use these "
"keyboard shortcuts:<ul><li><b>Ctrl+C</b>: For copying.</li><li><b>Ctrl+X</"
@@ -865,7 +870,7 @@ msgstr ""
msgid "Downloading..."
msgstr ""
-#: src/control/Toolbar.js:104 src/map/Map.js:1379
+#: src/control/Toolbar.js:104 src/map/Map.js:1378
msgid "Saving..."
msgstr ""
@@ -1207,11 +1212,11 @@ msgstr ""
msgid "%d minutes ago"
msgstr ""
-#: src/map/Map.js:1241
+#: src/map/Map.js:1240
msgid "Inactive document - please click to resume editing"
msgstr ""
-#: src/map/Map.js:1382
+#: src/map/Map.js:1381
msgid "Loading..."
msgstr ""
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index fe28ce9a6..78caff051 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -238,6 +238,7 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:HelpMenu', 'text'), id: 'help', type: 'menu', menu: [
{name: _('Online Help'), id: 'online-help', type: 'action', iosapp: false},
{name: _('Keyboard shortcuts'), id: 'keyboard-shortcuts', type: 'action', iosapp: false},
+ {name: _('Report an issue'), id: 'report-an-issue', type: 'action', iosapp: false},
{name: _('About'), id: 'about', type: 'action'}]
},
{name: _('Last modification'), id: 'last-mod', type: 'action', tablet: false}
@@ -339,6 +340,7 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:HelpMenu', 'presentation'), id: 'help', type: 'menu', menu: [
{name: _('Online Help'), id: 'online-help', type: 'action', iosapp: false},
{name: _('Keyboard shortcuts'), id: 'keyboard-shortcuts', type: 'action', iosapp: false},
+ {name: _('Report an issue'), id: 'report-an-issue', type: 'action', iosapp: false},
{name: _('About'), id: 'about', type: 'action'}]
},
{name: _('Last modification'), id: 'last-mod', type: 'action', tablet: false}
@@ -454,6 +456,7 @@ L.Control.Menubar = L.Control.extend({
{name: _UNO('.uno:HelpMenu', 'spreadsheet'), id: 'help', type: 'menu', menu: [
{name: _('Online Help'), id: 'online-help', type: 'action', iosapp: false},
{name: _('Keyboard shortcuts'), id: 'keyboard-shortcuts', type: 'action', iosapp: false},
+ {name: _('Report an issue'), id: 'report-an-issue', type: 'action', iosapp: false},
{name: _('About'), id: 'about', type: 'action'}]
},
{name: _('Last modification'), id: 'last-mod', type: 'action', tablet: false}
@@ -699,7 +702,7 @@ L.Control.Menubar = L.Control.extend({
'downloadas-odp', 'downloadas-ppt', 'downloadas-pptx', 'print', // file menu
'downloadas-ods', 'downloadas-xls', 'downloadas-xlsx', 'closedocument', // file menu
'fullscreen', 'zoomin', 'zoomout', 'zoomreset', 'showresolved', // view menu
- 'about', 'keyboard-shortcuts', 'online-help' // help menu
+ 'about', 'keyboard-shortcuts', 'online-help', 'report-an-issue' // help menu
]
},
@@ -1147,6 +1150,8 @@ L.Control.Menubar = L.Control.extend({
});
} else if (id === 'about') {
this._map.showLOAboutDialog();
+ } else if (id === 'report-an-issue') {
+ window.open('https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice%20Online', '_blank');
} else if (id === 'inserthyperlink') {
this._map.showHyperlinkDialog();
} else if (id === 'keyboard-shortcuts' || id === 'online-help') {
More information about the Libreoffice-commits
mailing list