projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc15adb
)
GoogleTranslate.php
author
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 12:19:39 +0000
(20:19 +0800)
committer
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 12:19:39 +0000
(20:19 +0800)
GoogleTranslate.php
patch
|
blob
|
history
diff --git
a/GoogleTranslate.php
b/GoogleTranslate.php
index
2ef3053
..
72ed6db
100644
(file)
--- a/
GoogleTranslate.php
+++ b/
GoogleTranslate.php
@@
-53,7
+53,7
@@
class Pman_Core_GoogleTranslate extends Pman
$responseDecoded = json_decode($response, true);
curl_close($handle);
- $this->jdata(
$responseDecoded
);
+ $this->jdata(
'{"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"}]}}}'
);
}