Fix issue #727 - Only a part of DeepL translations are shown

This commit is contained in:
Thomas 2025-03-25 10:30:08 +01:00
parent 6f3433da03
commit b46eed26ba

View file

@ -127,6 +127,7 @@ public class TransAsync {
str_response = new Client().get(url, this.timeout);
} else if (te == MyTransL.translatorEngine.DEEPL) {
String key = MyTransL.getInstance(te).getDeeplAPIKey();
params.setSplit_sentences(true);
url = Helper.getDeeplAbsoluteUrl(contentToSend, toLanguage, params, key);
str_response = new Client().get(url, this.timeout);
} else if (te == MyTransL.translatorEngine.SYSTRAN) {