return Roo.util.Format.htmlDecode( output);
}
-
-
+
function transbits()
{
while (true) {
}
// chunk up long strings..
+ // we should roo.encode to test lenght..
if (!force && str.length > 200) {
- var bits = str.split(/(\s+|[0-9]+)/);
+ var bits = str.split(/(\s+|[0-9\u3002\uff0c\u3001\u201c\u201d]+)/);
sbits[0] = '';
for (var i =0; i < bits.length; i++) {
if (sbits[cur].length + bits[i].length > 190) {
-
-
-
-
-
+
var x = new Roo.data.ScriptTagProxy({
url: 'http://ajax.googleapis.com/ajax/services/language/translate',
callbackParam : 'callback'