Rename zh_Hant to zh_TW to match Qt's expected name

This commit is contained in:
Cameron Gutman 2022-11-25 14:18:06 -06:00
parent e41aaf980b
commit b04bb30930
6 changed files with 7 additions and 7 deletions

View file

@ -374,7 +374,7 @@ TRANSLATIONS += \
languages/qml_sv.ts \ languages/qml_sv.ts \
languages/qml_tr.ts \ languages/qml_tr.ts \
languages/qml_uk.ts \ languages/qml_uk.ts \
languages/qml_zh_Hant.ts \ languages/qml_zh_TW.ts \
languages/qml_el.ts \ languages/qml_el.ts \
languages/qml_hi.ts \ languages/qml_hi.ts \
languages/qml_it.ts \ languages/qml_it.ts \

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="zh_Hant" sourcelanguage="en_GB"> <TS version="2.1" language="zh_TW" sourcelanguage="en_GB">
<context> <context>
<name>AppView</name> <name>AppView</name>
<message> <message>

View file

@ -47,8 +47,8 @@
<file>languages/qml_tr.qm</file> <file>languages/qml_tr.qm</file>
<file>languages/qml_uk.ts</file> <file>languages/qml_uk.ts</file>
<file>languages/qml_uk.qm</file> <file>languages/qml_uk.qm</file>
<file>languages/qml_zh_Hant.ts</file> <file>languages/qml_zh_TW.ts</file>
<file>languages/qml_zh_Hant.qm</file> <file>languages/qml_zh_TW.qm</file>
<file>languages/qml_el.ts</file> <file>languages/qml_el.ts</file>
<file>languages/qml_el.qm</file> <file>languages/qml_el.qm</file>
<file>languages/qml_hi.ts</file> <file>languages/qml_hi.ts</file>

View file

@ -227,8 +227,8 @@ QString StreamingPreferences::getSuffixFromLanguage(StreamingPreferences::Langua
return "tr"; return "tr";
case LANG_UK: case LANG_UK:
return "uk"; return "uk";
case LANG_ZH_HANT: case LANG_ZH_TW:
return "zh_Hant"; return "zh_TW";
case LANG_PT: case LANG_PT:
return "pt"; return "pt";
case LANG_PT_BR: case LANG_PT_BR:

View file

@ -82,7 +82,7 @@ public:
LANG_SV, LANG_SV,
LANG_TR, LANG_TR,
LANG_UK, LANG_UK,
LANG_ZH_HANT, LANG_ZH_TW,
LANG_PT, LANG_PT,
LANG_PT_BR, LANG_PT_BR,
LANG_EL, LANG_EL,