From 0adadb55dd355843459257f11a8e730832465a72 Mon Sep 17 00:00:00 2001 From: Blakko Date: Thu, 4 Jul 2013 11:49:59 +0200 Subject: [PATCH] Fix for gdata extension --- .../gdata/module/scripts/project/exporters.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/extensions/gdata/module/scripts/project/exporters.js b/extensions/gdata/module/scripts/project/exporters.js index 2dc436931..ff6054547 100644 --- a/extensions/gdata/module/scripts/project/exporters.js +++ b/extensions/gdata/module/scripts/project/exporters.js @@ -31,6 +31,21 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +var dictionary = ""; +$.ajax({ + url : "/command/gdata/load-language?", + type : "POST", + async : false, + data : { + lng : lang + }, + success : function(data) { + dictionary = data; + } +}); +$.i18n.setDictionary(dictionary); +// End internationalization + (function() { var handleUpload = function(options, exportAllRows, onDone, prompt) { var doUpload = function() {