[Libreoffice-commits] online.git: loleaflet/src

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Nov 27 12:53:45 UTC 2019


 loleaflet/src/control/Control.Toolbar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 662c633595720a9a9b828e14bca13d8d16f1dba5
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Wed Nov 27 13:53:21 2019 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Nov 27 13:53:21 2019 +0100

    enable l10n of 'Default Style' string here
    
    Change-Id: Ia3253d5c54f117028807aeb1c6db01fbac7a474e

diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index d1cc42604..f940ecea0 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -767,7 +767,7 @@ function initNormalToolbar() {
 		{type: 'button',  id: 'reset',  img: 'deleteformat', hint: _UNO('.uno:ResetAttributes', 'text'), uno: 'ResetAttributes', mobile: false},
 		{type: 'break', mobile: false, tablet: false,},
 		{type: 'html', id: 'styles',
-			html: '<select class="styles-select"><option>Default Style</option></select>',
+			html: '<select class="styles-select"><option>' + _('Default Style') + '</option></select>',
 			onRefresh: function (edata) {
 				if (!edata.item.html) {
 					edata.isCancelled = true;


More information about the Libreoffice-commits mailing list