projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8bb2d6
)
GoogleTranslate.php
author
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 13:09:08 +0000
(21:09 +0800)
committer
Chris
<chris@roojs.com>
Wed, 2 Apr 2014 13:09:08 +0000
(21:09 +0800)
GoogleTranslate.php
patch
|
blob
|
history
diff --git
a/GoogleTranslate.php
b/GoogleTranslate.php
index
cbd6755
..
4a47f3f
100644
(file)
--- a/
GoogleTranslate.php
+++ b/
GoogleTranslate.php
@@
-32,7
+32,7
@@
class Pman_Core_GoogleTranslate extends Pman
$this->jerr("Google API Key not configured");
}
if (!strlen(trim($_REQUEST['text']))) {
- $this->jok(
""
);
+ $this->jok(
array("translatedText" =>"")
);
}
$param = array(
'key' => $pc['googlekey'],