From: Alan Knowles Date: Thu, 3 Nov 2011 09:04:58 +0000 (+0800) Subject: Pman.GoogleTranslate.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=67fd85ab02080975c60016f99900f7b1eeae8feb Pman.GoogleTranslate.js --- diff --git a/Pman.GoogleTranslate.js b/Pman.GoogleTranslate.js index 56599221..6b7e203d 100644 --- a/Pman.GoogleTranslate.js +++ b/Pman.GoogleTranslate.js @@ -140,7 +140,7 @@ Pman.GoogleTranslate = function(str, src, dest, cb, force) { if (!o.responseData) { return o; } - return escapeDecode(o.responseData.translatedText); + return escapeDecode(o.responseData.translations[0].translatedText); } }, function (result) {