Don't use deprecated locale name

This commit is contained in:
Chocobo1 2021-01-01 15:56:59 +08:00 committed by sledgehammer999
commit e7e3f6a9db
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -131,7 +131,7 @@ namespace
case QLocale::Latvian: return QString::fromUtf8(C_LOCALE_LATVIAN);
case QLocale::Lithuanian: return QString::fromUtf8(C_LOCALE_LITHUANIAN);
case QLocale::Malay: return QString::fromUtf8(C_LOCALE_MALAY);
case QLocale::Norwegian: return QString::fromUtf8(C_LOCALE_NORWEGIAN);
case QLocale::NorwegianBokmal: return QString::fromUtf8(C_LOCALE_NORWEGIAN);
case QLocale::Occitan: return QString::fromUtf8(C_LOCALE_OCCITAN);
case QLocale::Polish: return QString::fromUtf8(C_LOCALE_POLISH);
case QLocale::Portuguese: