diff --git a/src/www/js/gftranslate.js b/src/www/js/gftranslate.js index a232bde50..86cdc477a 100644 --- a/src/www/js/gftranslate.js +++ b/src/www/js/gftranslate.js @@ -85,20 +85,23 @@ function trans_text_quality(text) { } // find_to :: Lang -> [{to:Lang,...}] -> Int -find_to=function(to,lins) { +function find_to(to,lins) { for(var i=0;i" @@ -74,14 +80,16 @@ wc.translate=function() { function show_picks() { clear(p) for(var i=0;i=0) { + r.t={quality:"bad_quality",text:r.linearizations[ix].text} + showit2(r,g) + } } function word_for_word(text,cont) { @@ -174,9 +188,11 @@ wc.translate=function() { function step3cnl(results) { var trans=results[0].translations if(trans && trans.length>=1) { - var r=trans[0] - r.prob=0 - showit(r,wc.cnl) + for(var i=0;i + + + @@ -52,11 +55,14 @@ small { color: #666; } Colors @@ -83,7 +89,7 @@ small { color: #666; }

-Last modified: Thu Apr 17 15:45:17 CEST 2014 +Last modified: Thu May 8 01:37:42 CEST 2014