DeepL: added Arabic

This commit is contained in:
M66B 2024-03-18 08:07:50 +01:00
parent f1215287e4
commit 0ba95456d9
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,9 @@
[
{
"language": "AR",
"name": "Arabic",
"supports_formality": false
},
{
"language": "BG",
"name": "Bulgarian",

View File

@ -115,7 +115,9 @@ public class DeepL {
int frequency = prefs.getInt("translated_" + target, 0);
String flag;
if ("CS".equals(target))
if ("AR".equals(target))
flag = "SA";
else if ("CS".equals(target))
flag = "CZ";
else if ("DA".equals(target))
flag = "DK";