Translation improvements

This commit is contained in:
Ilya Laktyushin
2023-01-31 17:23:23 +04:00
parent e8ec6331ff
commit 7cea4071ba
7 changed files with 72 additions and 21 deletions

View File

@@ -463,7 +463,7 @@ public class GalleryController: ViewController, StandalonePresentableController,
if let translationState, translationState.isEnabled {
var translateToLanguage = translationState.toLang ?? baseLanguageCode
if translateToLanguage == "nb" {
translateToLanguage = "nl"
translateToLanguage = "no"
} else if translateToLanguage == "pt-br" {
translateToLanguage = "pt"
}