NOISSUE fix display of european portuguese in language lists
This commit is contained in:
parent
ffe84d6ec7
commit
1210d3abf1
@ -33,7 +33,12 @@ struct Language
|
|||||||
Language(const QString & _key)
|
Language(const QString & _key)
|
||||||
{
|
{
|
||||||
key = _key;
|
key = _key;
|
||||||
|
if(key == "pt") {
|
||||||
|
locale = QLocale("pt_PT");
|
||||||
|
}
|
||||||
|
else {
|
||||||
locale = QLocale(key);
|
locale = QLocale(key);
|
||||||
|
}
|
||||||
updated = (key == defaultLangCode);
|
updated = (key == defaultLangCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user