mirror of
https://github.com/LibreOffice/online.git
synced 2025-07-29 12:01:08 +00:00
Loleaflet Calc: Add language support for "show sheet" buttons.
Change-Id: I2e2fc8095be659b02ba9fb479e7159b9ec0af66e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103540 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
@ -202,6 +202,7 @@ msgstr ""
|
||||
|
||||
#: admin/admin.strings.js:51 src/control/Control.AlertDialog.js:25
|
||||
#: src/control/Signing.js:608
|
||||
#: src/control/Parts.js:376
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
@ -305,6 +306,10 @@ msgstr ""
|
||||
msgid " s"
|
||||
msgstr ""
|
||||
|
||||
#: src/control/Parts.js:377
|
||||
msgid "Show Selected Sheets"
|
||||
msgstr ""
|
||||
|
||||
#: src/control/ColorPicker.js:129
|
||||
msgid "No color"
|
||||
msgstr ""
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Document parts switching and selecting handler
|
||||
*/
|
||||
|
||||
/* global vex */
|
||||
/* global vex $ _ */
|
||||
|
||||
L.Map.include({
|
||||
setPart: function (part, external, calledFromSetPartHandler) {
|
||||
@ -370,8 +370,12 @@ L.Map.include({
|
||||
}
|
||||
|
||||
var socket_ = this._socket;
|
||||
vex.dialog.confirm({
|
||||
vex.dialog.open({
|
||||
unsafeMessage: container.outerHTML,
|
||||
buttons: [
|
||||
$.extend({}, vex.dialog.buttons.NO, { text: _('Close') }),
|
||||
$.extend({}, vex.dialog.buttons.YES, { text: _('Show Selected Sheets') })
|
||||
],
|
||||
callback: function (value) {
|
||||
if (value === true) {
|
||||
var checkboxList = document.querySelectorAll('input[id^="hidden-part-checkbox"]');
|
||||
|
Reference in New Issue
Block a user