loleaflet/src/control/Control.Tabs.js | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 207075f82cb644133eea20b3c99af7b40b08076d 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:04:48 2020 +0100 localize the buttons on 'Rename sheet' dialog Change-Id: I6470deb2cfa93d59ebb612d223bb2829a6cea75e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89026 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.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 40f4c6ab7..7d5e12e94 100644 --- a/loleaflet/src/control/Control.Tabs.js +++ b/loleaflet/src/control/Control.Tabs.js @@ -192,6 +192,10 @@ L.Control.Tabs = L.Control.extend({ var nPos = this._tabForContextMenu; 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="' + $('#spreadsheet-tab' + this._tabForContextMenu).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