loleaflet/src/control/Control.Tabs.js | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 8699dc4f9e46f8cf928c16e81f244b2b3f50b565 Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Wed Feb 19 15:06:16 2020 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Wed Feb 19 16:30:23 2020 +0100 localize the buttons on 'Rename sheet' dialog Change-Id: I6470deb2cfa93d59ebb612d223bb2829a6cea75e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88956 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Tested-by: Andras Timar <andras.ti...@collabora.com> Reviewed-by: Andras Timar <andras.ti...@collabora.com> diff --git a/loleaflet/src/control/Control.Tabs.js b/loleaflet/src/control/Control.Tabs.js index c963e9892..8804495ca 100644 --- a/loleaflet/src/control/Control.Tabs.js +++ b/loleaflet/src/control/Control.Tabs.js @@ -87,6 +87,10 @@ L.Control.Tabs = L.Control.extend({ var nPos = parseInt(options.$trigger.attr('id').split('spreadsheet-tab')[1]); vex.dialog.open({ message: _('Enter new sheet name'), + buttons: [ + $.extend({}, vex.dialog.buttons.YES, { text: _('OK') }), + $.extend({}, vex.dialog.buttons.NO, { text: _('Cancel') }) + ], input: '<input name="sheetname" type="text" value="' + options.$trigger.text() + '" required />', callback: function(data) { map.renamePage(data.sheetname, nPos); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits