mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 16:51:30 +00:00
NOISSUE fix display of european portuguese in language lists
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user