Skip to content

Commit

Permalink
Update SubtitleTranslate - lingva.as
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 authored Dec 10, 2024
1 parent f773424 commit 5f9a58d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions SubtitleTranslate - lingva.as
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,6 @@ string Translate(string Text, string &in SrcLang, string &in DstLang)
SrcLang.MakeLower();

string enc = HostUrlEncode(Text);

string url = server_url + "/api/v1/" + SrcLang + "/" + DstLang + "/" + enc;
HostPrintUTF8("[*] url (f: Translate):" + url); // for debug print

string url = server_url + "/api/v1/" + _SrcLang + "/" + _DstLang + "/" + enc;
string text = HostUrlGetString(url, UserAgent);
HostPrintUTF8("[*] text (f: Translate):" + text); // for debug print
Expand Down

0 comments on commit 5f9a58d

Please sign in to comment.