projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c93d6b
)
Pman.GoogleTranslate.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 04:45:43 +0000
(12:45 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 17 Nov 2010 04:45:43 +0000
(12:45 +0800)
Pman.GoogleTranslate.js
patch
|
blob
|
history
diff --git
a/Pman.GoogleTranslate.js
b/Pman.GoogleTranslate.js
index
4b18c8a
..
1526d9e
100644
(file)
--- a/
Pman.GoogleTranslate.js
+++ b/
Pman.GoogleTranslate.js
@@
-63,6
+63,7
@@
Pman.GoogleTranslate = function(str, src, dest, cb, force) {
}
// chunk up long strings..
+ // we should roo.encode to test lenght..
if (!force && str.length > 200) {
var bits = str.split(/(\s+|[0-9\u3002\uff0c\u3001\u201c\u201d]+)/);
sbits[0] = '';