loleaflet/dist/toolbar/toolbar.js | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 5a29248000167d5e8995214d38b547f1202218eb Author: Andras Timar <andras.ti...@collabora.com> Date: Fri May 25 14:31:34 2018 +0200 l10n of color picker widget Change-Id: Ibbb9556b2ef3de3fd61b2f83e0ec45edc23d779e Reviewed-on: https://gerrit.libreoffice.org/54804 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js index 94a402310..ad2a05848 100644 --- a/loleaflet/dist/toolbar/toolbar.js +++ b/loleaflet/dist/toolbar/toolbar.js @@ -307,6 +307,9 @@ function onClick(id, item, subItem) { // absolutely no idea why, but without the timeout, the popup is // closed as soon as it is opend setTimeout(function () { + $('#fontColorPicker').colorpicker({ + strings: _('Theme Colors') + ',' + _('Standard Colors') + ',' + _('Web Colors') + ',' + _('Theme Colors') + ',' + _('Back to Palette') + ',' + _('History') + ',' + _('No history yet.') + }); $('#fontColorPicker').colorpicker('showPalette'); $('.ui-widget-content').addClass('loleaflet-font'); }, 0); @@ -315,6 +318,9 @@ function onClick(id, item, subItem) { // absolutely no idea why, but without the timeout, the popup is // closed as soon as it is opend setTimeout(function () { + $('#backColorPicker').colorpicker({ + strings: _('Theme Colors') + ',' + _('Standard Colors') + ',' + _('Web Colors') + ',' + _('Theme Colors') + ',' + _('Back to Palette') + ',' + _('History') + ',' + _('No history yet.') + }); $('#backColorPicker').colorpicker('showPalette'); $('.ui-widget-content').addClass('loleaflet-font'); }, 0); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits