GUI: Add zh_TW translation (#5108)

This commit is contained in:
Haowei Hsu 2023-06-04 13:51:48 +08:00 committed by GitHub
parent 18b60d2f2b
commit bf8b3188a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2835 additions and 1 deletions

2831
gui/cppcheck_zh_TW.ts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -88,7 +88,8 @@ TRANSLATIONS = cppcheck_de.ts \
cppcheck_ru.ts \
cppcheck_sr.ts \
cppcheck_sv.ts \
cppcheck_zh_CN.ts
cppcheck_zh_CN.ts \
cppcheck_zh_TW.ts
# Windows-specific options
CONFIG += embed_manifest_exe

View File

@ -48,6 +48,7 @@ TranslationHandler::TranslationHandler(QObject *parent) :
// Add our available languages
// Keep this list sorted
addTranslation("Chinese (Simplified)", "cppcheck_zh_CN");
addTranslation("Chinese (Traditional)", "cppcheck_zh_TW");
addTranslation("Dutch", "cppcheck_nl");
addTranslation("English", "cppcheck_en");
addTranslation("Finnish", "cppcheck_fi");

View File

@ -80,6 +80,7 @@
<File Id='cppcheck_sr.qm' Name='cppcheck_sr.qm' Source='$(var.TranslationsDir)\cppcheck_sr.qm' />
<File Id='cppcheck_sv.qm' Name='cppcheck_sv.qm' Source='$(var.TranslationsDir)\cppcheck_sv.qm' />
<File Id='cppcheck_zh_CN.qm' Name='cppcheck_zh_CN.qm' Source='$(var.TranslationsDir)\cppcheck_zh_CN.qm' />
<File Id='cppcheck_zh_TW.qm' Name='cppcheck_zh_TW.qm' Source='$(var.TranslationsDir)\cppcheck_zh_TW.qm' />
</Component>
</Directory>
<Directory Id='CfgsFolder' Name='cfg'>