-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbing_translate.txt
27 lines (23 loc) · 1.04 KB
/
bing_translate.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
http://translate.google.com/translate_t?langpair='
http://www.bing.com/translator/ fromLang toLang sourceText
bing translator fromLang toLang sourceText
http://api.microsofttranslator.com/v2/Http.svc/Translate?text=word&from=en&to=ru;
$("#editResultWin_test").hide();
$("#PhrasesBlock").hide();
hideEditTranslationWin(0);
$("#editResult_test").val('');
$("#editResult_test").css('height','');
$("#SiteContent_sourceText").css('height','');
//jQuery("textarea[class*=expand]").TextAreaExpander();
$("#blurResult").show();
if (chST==1) {savedUID = "";}
if (rtrim($("#SiteContent_sourceText").val())=="") {
$("#blurResult").hide();$("#SiteContent_sourceText").val('');
$("#ttSourceText").slideDown(300);$("#btt").slideDown(300);
$('#ttSourceText').css('color','#FC575E');
setTimeout("$('#ttSourceText').css('color','#45697E');",2000);
return false;}
if ((document.getElementById("SiteContent_sourceTextDict"))&&(rtrim(document.getElementById("SiteContent_sourceTextDict").val==''))){return;}
var dir=GetDir();
TranslType = "text";
ReceiveServerData("");