projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676a123
)
GoogleTranslate.php
author
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 12:55:34 +0000
(20:55 +0800)
committer
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 12:55:34 +0000
(20:55 +0800)
GoogleTranslate.php
patch
|
blob
|
history
diff --git
a/GoogleTranslate.php
b/GoogleTranslate.php
index
c99565f
..
746a324
100644
(file)
--- a/
GoogleTranslate.php
+++ b/
GoogleTranslate.php
@@
-58,6
+58,8
@@
class Pman_Core_GoogleTranslate extends Pman
$responseDecoded = json_decode($response);
curl_close($handle);
// print_r($responseDecoded->data->data->translations[0]->translatedText);
+
+ print_r($responseDecoded);
$responseDecoded->data->data->translations[0]->translatedText = rawurldecode($responseDecoded->data->data->translations[0]->translatedText);
$this->jok($responseDecoded->data->data->translations[0]);