Pman.GoogleTranslate.js
authorChris <chris@roojs.com>
Wed, 2 Apr 2014 12:11:21 +0000 (20:11 +0800)
committerChris <chris@roojs.com>
Wed, 2 Apr 2014 12:11:21 +0000 (20:11 +0800)
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);