1
0
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:
Zetok Zalbavar 2017-02-11 07:18:56 +00:00
parent b80e964d18
commit 43d16d9181
No known key found for this signature in database
GPG Key ID: C953D3880212068A
5 changed files with 12 additions and 4 deletions

View File

@ -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(

View File

@ -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

View File

@ -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)

View File

@ -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) {

View File

@ -34,5 +34,6 @@
<file>ug.qm</file>
<file>uk.qm</file>
<file>zh_CN.qm</file>
<file>zh_TW.qm</file>
</qresource>
</RCC>