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

Andras Timar andras.timar at collabora.com
Fri Aug 19 12:34:58 UTC 2016


 loleaflet/Makefile                            |    3 ++-
 loleaflet/src/core/Socket.js                  |    2 +-
 loleaflet/src/map/handler/Map.FileInserter.js |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit a68274c1deb0490d1f6b50825a2fe4547ac95460
Author: Andras Timar <andras.timar at collabora.com>
Date:   Fri Aug 19 14:34:21 2016 +0200

    loleaflet: spinner l10n

diff --git a/loleaflet/Makefile b/loleaflet/Makefile
index e6fc663..d249a5a 100644
--- a/loleaflet/Makefile
+++ b/loleaflet/Makefile
@@ -53,7 +53,8 @@ pot:
 		src/control/Control.Tabs.js \
 		src/control/Toolbar.js \
 		src/core/Socket.js \
-		src/map/Map.js
+		src/map/Map.js \
+		src/map/handler/Map.FileInserter.js
 
 	html2po --pot --input=dist/loleaflet-help.html --output=po/templates/loleaflet-help.pot
 
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 87f1ce6..f2f3672 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -192,7 +192,7 @@ L.Socket = L.Class.extend({
 		}
 		else if (textMsg.startsWith('statusindicator:')) {
 			//FIXME: We should get statusindicator when saving too, no?
-			this._map.showBusy('Connecting...', false);
+			this._map.showBusy(_('Connecting...'), false);
 		}
 		else if (!textMsg.startsWith('tile:') && !textMsg.startsWith('renderfont:')) {
 			// log the tile msg separately as we need the tile coordinates
diff --git a/loleaflet/src/map/handler/Map.FileInserter.js b/loleaflet/src/map/handler/Map.FileInserter.js
index 7e90a2a..a8a98f0 100644
--- a/loleaflet/src/map/handler/Map.FileInserter.js
+++ b/loleaflet/src/map/handler/Map.FileInserter.js
@@ -50,7 +50,7 @@ L.Map.FileInserter = L.Handler.extend({
 		var xmlHttp = new XMLHttpRequest();
 		var socket = this._map._socket;
 		var map = this._map;
-		this._map.showBusy('Uploading...', false);
+		this._map.showBusy(_('Uploading...'), false);
 		xmlHttp.onreadystatechange = function () {
 			if (xmlHttp.readyState === 4 && xmlHttp.status === 200) {
 				map.hideBusy();


More information about the Libreoffice-commits mailing list