mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 04:46:57 +03:00
NOISSUE fix display of european portuguese in language lists
This commit is contained in:
parent
ffe84d6ec7
commit
1210d3abf1
1 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue