Various improvements

This commit is contained in:
Ilya Laktyushin
2024-10-11 18:34:44 +04:00
parent c6a8183036
commit 0eb7a9b0d4
27 changed files with 1076 additions and 327 deletions

View File

@@ -1022,11 +1022,7 @@ public class TranslateScreen: ViewController {
}
}
if toLanguage == "nb" {
toLanguage = "no"
} else if toLanguage == "pt-br" {
toLanguage = "pt"
}
toLanguage = normalizeTranslationLanguage(toLanguage)
var copyTranslationImpl: ((String) -> Void)?
var changeLanguageImpl: ((String, String, @escaping (String, String) -> Void) -> Void)?