GoogleTranslate.php
[Pman.Core] / GoogleTranslate.php
index 3163de8..3126b08 100644 (file)
@@ -58,7 +58,7 @@ class Pman_Core_GoogleTranslate extends Pman
         }
 //        print_r($responseDecoded);
         if(empty($responseDecoded->data->translations[0]->translatedText)){
-            $this->jerr('does not have translated text.');
+            $this->jerr('does not have translated text.', print_r($responseDecoded, true));
         }
         $responseDecoded->data->translations[0]->translatedText = rawurldecode($responseDecoded->data->translations[0]->translatedText);
         $this->jok($responseDecoded->data->translations[0]);