projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09f05d5
)
GoogleTranslate.php
author
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 12:23:40 +0000
(20:23 +0800)
committer
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 12:23:40 +0000
(20:23 +0800)
GoogleTranslate.php
patch
|
blob
|
history
diff --git
a/GoogleTranslate.php
b/GoogleTranslate.php
index
5724753
..
db0b2b1
100644
(file)
--- a/
GoogleTranslate.php
+++ b/
GoogleTranslate.php
@@
-52,7
+52,7
@@
class Pman_Core_GoogleTranslate extends Pman
//
$responseDecoded = json_decode('{"success":true,"total":1,"data":{"data":{"translations":[{"translatedText":"Alessi% E6% 96% B0% E5% 93% 81% E7% 99% BC% E5% B8% 83% E3% 80% 80% E6% 99% 82% E5% B0% 9A% E5% AF% A6% E7% 94% A8% E5% 85% BC% E5% 82% 99"}]}}}', true);
curl_close($handle);
-
+ print_r($responseDecoded);
$this->jdata($responseDecoded);
}