diff options
Diffstat (limited to 'api/logic/translations')
-rw-r--r-- | api/logic/translations/TranslationsModel.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/api/logic/translations/TranslationsModel.cpp b/api/logic/translations/TranslationsModel.cpp index 0d9eccbf..a5a4fb15 100644 --- a/api/logic/translations/TranslationsModel.cpp +++ b/api/logic/translations/TranslationsModel.cpp @@ -33,7 +33,12 @@ struct Language Language(const QString & _key) { key = _key; - locale = QLocale(key); + if(key == "pt") { + locale = QLocale("pt_PT"); + } + else { + locale = QLocale(key); + } updated = (key == defaultLangCode); } |