From ec15d9e9fff3eb40e6841d3d5e659d7f3719e5ca Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 9 Jun 2016 15:26:08 +0200 Subject: [PATCH] loleaflet: l10n of src/control/Toolbar.js --- loleaflet/Makefile | 1 + loleaflet/src/control/Toolbar.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/loleaflet/Makefile b/loleaflet/Makefile index b9ea4b726f..45e9a69486 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 cee4561d85..5ec60503e5 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.