From 9f70eaa13c73a39712413d806cb65c89aa10802f Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 20 Feb 2015 12:31:41 +0000 Subject: [PATCH] gftranslate.js: reduce sentense length limit to 200 (URL encoded) characters This limit might still be to high to avoid excessive time/space use in the parser for certain languages in the wide coverage translation grammar. --- src/www/js/gftranslate.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/www/js/gftranslate.js b/src/www/js/gftranslate.js index 8dcdcd026..deb0be7f2 100644 --- a/src/www/js/gftranslate.js +++ b/src/www/js/gftranslate.js @@ -20,12 +20,14 @@ function unspace_translations(g,trans) { var langs=[g+"Chi",g+"Jpn",g+"Tha"] for(var i=0;i