[Libreoffice-commits] online.git: loleaflet/src
Pranav Kant
pranavk at collabora.com
Wed Jun 22 20:36:55 UTC 2016
loleaflet/src/control/Toolbar.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 10a5f8c08b825c9dc5b959fa4ac0e61053717b4a
Author: Pranav Kant <pranavk at collabora.com>
Date: Wed Jun 22 21:29:09 2016 +0530
loleaflet: l10n: Placeholder for product name
Change-Id: I883ff7e42cf37cd457b6cfcc065fff47b3dc469d
Reviewed-on: https://gerrit.libreoffice.org/26573
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index 93fac44..9746960 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -209,7 +209,8 @@ L.Map.include({
// fill product-name and product-string
var productName = brandProductName || 'LibreOffice Online';
content.find('#product-name').text(productName);
- content.find('#product-string').text(_('This version of ' + productName + ' is powered by'));
+ var productString = _('This version of %productName is powered by');
+ content.find('#product-string').text(productString.replace('%productName', productName));
var w = window.innerWidth / 2;
vex.open({
content: content,
More information about the Libreoffice-commits
mailing list