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

Andras Timar andras.timar at collabora.com
Thu Jun 9 13:26:35 UTC 2016


 loleaflet/Makefile               |    1 +
 loleaflet/src/control/Toolbar.js |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit ec15d9e9fff3eb40e6841d3d5e659d7f3719e5ca
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Jun 9 15:26:08 2016 +0200

    loleaflet: l10n of src/control/Toolbar.js

diff --git a/loleaflet/Makefile b/loleaflet/Makefile
index b9ea4b7..45e9a69 100644
--- a/loleaflet/Makefile
+++ b/loleaflet/Makefile
@@ -40,6 +40,7 @@ pot:
 		src/admin/Util.js \
 		src/control/Control.Menubar.js \
 		src/control/Control.Tabs.js \
+		src/control/Toolbar.js \
 		src/core/Socket.js \
 		src/map/Map.js
 
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index cee4561..5ec6050 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -40,7 +40,7 @@ L.Map.include({
 		}
 		id = id || -1; // not a special download
 
-		this.showBusy('Downloading...', false);
+		this.showBusy(_('Downloading...'), false);
 		this._socket.sendMessage('downloadas ' +
 			'name=' + name + ' ' +
 			'id=' + id + ' ' +
@@ -49,7 +49,7 @@ L.Map.include({
 	},
 
 	print: function () {
-		this.showBusy('Downloading...', false);
+		this.showBusy(_('Downloading...'), false);
 		this.downloadAs('print.pdf', 'pdf', null, 'print');
 	},
 
@@ -61,7 +61,7 @@ L.Map.include({
 			options = '';
 		}
 
-		this.showBusy('Saving...', false);
+		this.showBusy(_('Saving...'), false);
 		// TakeOwnership: we are performing a 'real' save-as, the document
 		// is just getting a new place, ie. it will get the
 		// '.uno:ModifiedStatus' upon completion.


More information about the Libreoffice-commits mailing list