mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
feat(l10n): add Chinese (Taiwan) translation to UI
Thanks to @LNDDYL for the help with what should be put in the language name.
This commit is contained in:
parent
b80e964d18
commit
43d16d9181
|
@ -112,6 +112,7 @@ qt5_add_translation(${PROJECT_NAME}_QM_FILES
|
|||
translations/ug.ts
|
||||
translations/uk.ts
|
||||
translations/zh_CN.ts
|
||||
translations/zh_TW.ts
|
||||
)
|
||||
|
||||
qt5_add_resources(
|
||||
|
|
|
@ -69,7 +69,9 @@ static QStringList locales = {"ar",
|
|||
"tr",
|
||||
"ug",
|
||||
"uk",
|
||||
"zh_CN"};
|
||||
"zh_CN",
|
||||
"zh_TW"
|
||||
};
|
||||
static QStringList langs = {"Arabic",
|
||||
"Беларуская",
|
||||
"Български",
|
||||
|
@ -104,7 +106,9 @@ static QStringList langs = {"Arabic",
|
|||
"Türkçe",
|
||||
"ئۇيغۇرچە",
|
||||
"Українська",
|
||||
"中文(中国)"};
|
||||
"中文(中国)",
|
||||
"繁體中文(台灣)"
|
||||
};
|
||||
|
||||
/**
|
||||
* @class GeneralForm
|
||||
|
|
3
translations/README.md
vendored
3
translations/README.md
vendored
|
@ -44,4 +44,5 @@ Language | Status
|
|||
[Türkçe](https://hosted.weblate.org/engage/tox/tr/) | [![Translation status](https://hosted.weblate.org/widgets/tox/tr/svg-badge.svg)](https://hosted.weblate.org/engage/tox/tr/?utm_source=widget)
|
||||
[ئۇيغۇرچە](https://hosted.weblate.org/engage/tox/ug/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ug/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ug/?utm_source=widget)
|
||||
[Українська](https://hosted.weblate.org/engage/tox/uk/) | [![Translation status](https://hosted.weblate.org/widgets/tox/uk/svg-badge.svg)](https://hosted.weblate.org/engage/tox/uk/?utm_source=widget)
|
||||
[简体中文](https://hosted.weblate.org/engage/tox/zh_CN/) | [![Translation status](https://hosted.weblate.org/widgets/tox/zh_CN/svg-badge.svg)](https://hosted.weblate.org/engage/tox/zh_CN/?utm_source=widget)
|
||||
[中文(中国)](https://hosted.weblate.org/engage/tox/zh_CN/) | [![Translation status](https://hosted.weblate.org/widgets/tox/zh_CN/svg-badge.svg)](https://hosted.weblate.org/engage/tox/zh_CN/?utm_source=widget)
|
||||
[繁體中文(台灣)](https://hosted.weblate.org/engage/tox/zh_TW/) | [![Translation status](https://hosted.weblate.org/widgets/tox/zh_TW/svg-badge.svg)](https://hosted.weblate.org/engage/tox/zh_TW/?utm_source=widget)
|
||||
|
|
3
translations/i18n.pri
vendored
3
translations/i18n.pri
vendored
|
@ -34,7 +34,8 @@ TRANSLATIONS = \
|
|||
translations/tr.ts \
|
||||
translations/ug.ts \
|
||||
translations/uk.ts \
|
||||
translations/zh_CN.ts
|
||||
translations/zh_CN.ts \
|
||||
translations/zh_TW.ts
|
||||
|
||||
#rules to generate ts
|
||||
isEmpty(QMAKE_LUPDATE) {
|
||||
|
|
1
translations/translations.qrc
vendored
1
translations/translations.qrc
vendored
|
@ -34,5 +34,6 @@
|
|||
<file>ug.qm</file>
|
||||
<file>uk.qm</file>
|
||||
<file>zh_CN.qm</file>
|
||||
<file>zh_TW.qm</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in New Issue
Block a user