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

Andras Timar andras.timar at collabora.com
Tue May 31 14:37:01 UTC 2016


 loleaflet/Makefile       |    3 ++-
 loleaflet/src/map/Map.js |    6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

New commits:
commit 611bbe3814a01c610fd4aad6b2ef5b4bce8350b2
Author: Andras Timar <andras.timar at collabora.com>
Date:   Tue May 31 16:36:21 2016 +0200

    loleaflet: mark-up strings for l10n in src/map/Map.js

diff --git a/loleaflet/Makefile b/loleaflet/Makefile
index 00a58a1..ab851c1 100644
--- a/loleaflet/Makefile
+++ b/loleaflet/Makefile
@@ -35,7 +35,8 @@ pot:
 		dist/toolbar/toolbar.js \
 		src/control/Control.Tabs.js \
 		src/control/Control.Menubar.js \
-		src/core/Socket.js
+		src/core/Socket.js \
+		src/map/Map.js
 	html2po --pot --input=dist/loleaflet-help.html --output=po/loleaflet-help.pot
 
 l10n: pot
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 22e569f..099d284 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -113,7 +113,7 @@ L.Map = L.Evented.extend({
 			this.setPermission(options.permission);
 		}
 
-		this.showBusy('Initializing...', false);
+		this.showBusy(_('Initializing...'), false);
 		this.on('statusindicator', this._onUpdateProgress, this);
 	},
 
@@ -799,10 +799,10 @@ L.Map = L.Evented.extend({
 		if (e.statusType === 'start') {
 			if (this._socket.readyState === 1) {
 				// auto-save
-				this.showBusy('Saving...', true);
+				this.showBusy(_('Saving...'), true);
 			}
 			else {
-				this.showBusy('Loading...', true);
+				this.showBusy(_('Loading...'), true);
 			}
 		}
 		else if (e.statusType === 'setvalue') {


More information about the Libreoffice-commits mailing list