mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-06-18 19:20:09 +03:00
Fix issue #727 - Only a part of DeepL translations are shown
This commit is contained in:
parent
6f3433da03
commit
b46eed26ba
1 changed files with 1 additions and 0 deletions
|
@ -127,6 +127,7 @@ public class TransAsync {
|
||||||
str_response = new Client().get(url, this.timeout);
|
str_response = new Client().get(url, this.timeout);
|
||||||
} else if (te == MyTransL.translatorEngine.DEEPL) {
|
} else if (te == MyTransL.translatorEngine.DEEPL) {
|
||||||
String key = MyTransL.getInstance(te).getDeeplAPIKey();
|
String key = MyTransL.getInstance(te).getDeeplAPIKey();
|
||||||
|
params.setSplit_sentences(true);
|
||||||
url = Helper.getDeeplAbsoluteUrl(contentToSend, toLanguage, params, key);
|
url = Helper.getDeeplAbsoluteUrl(contentToSend, toLanguage, params, key);
|
||||||
str_response = new Client().get(url, this.timeout);
|
str_response = new Client().get(url, this.timeout);
|
||||||
} else if (te == MyTransL.translatorEngine.SYSTRAN) {
|
} else if (te == MyTransL.translatorEngine.SYSTRAN) {
|
||||||
|
|
Loading…
Reference in a new issue