Fix LANG_AUTO for Simplified Chinese

This commit is contained in:
happyharryh 2022-11-07 22:01:58 +08:00 committed by Cameron Gutman
parent 8cd0536fb1
commit 5eb8b97469
5 changed files with 4 additions and 4 deletions

View file

@ -359,7 +359,7 @@ RESOURCES += \
qml.qrc
TRANSLATIONS += \
languages/qml_zh_cn.ts \
languages/qml_zh_CN.ts \
languages/qml_de.ts \
languages/qml_fr.ts \
languages/qml_nb_NO.ts \

View file

@ -21,8 +21,8 @@
<file>languages/qml_de.qm</file>
<file>languages/qml_fr.ts</file>
<file>languages/qml_fr.qm</file>
<file>languages/qml_zh_cn.ts</file>
<file>languages/qml_zh_cn.qm</file>
<file>languages/qml_zh_CN.ts</file>
<file>languages/qml_zh_CN.qm</file>
<file>languages/qml_nb_NO.ts</file>
<file>languages/qml_nb_NO.qm</file>
<file>languages/qml_ru.ts</file>

View file

@ -202,7 +202,7 @@ QString StreamingPreferences::getSuffixFromLanguage(StreamingPreferences::Langua
case LANG_FR:
return "fr";
case LANG_ZH_CN:
return "zh_cn";
return "zh_CN";
case LANG_NB_NO:
return "nb_NO";
case LANG_RU: