Pman.GoogleTranslate.js
[Pman.Core] / Pman.GoogleTranslate.js
index 5ce3491..e10f291 100644 (file)
@@ -151,7 +151,7 @@ Pman.GoogleTranslate = function(str, src, dest, cb, force) {
                     return;
                 }
 //                Roo.MessageBox.alert("Success", "We logged in OK")
-                return o.data.translations[0].translatedText;
+                return o.data.data.translations[0].translatedText;
             },
             failure: function (res) {
                 Roo.log(res);