[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - loleaflet/dist

Andras Timar andras.timar at collabora.com
Fri May 25 16:22:54 UTC 2018


 loleaflet/dist/toolbar/toolbar.js |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 5a29248000167d5e8995214d38b547f1202218eb
Author: Andras Timar <andras.timar at 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 <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at 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);


More information about the Libreoffice-commits mailing list