Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(l10n): rename zh translation to zh_CN
Browse files Browse the repository at this point in the history
Closes #4080.
  • Loading branch information
zetok committed Jan 17, 2017
1 parent f938fef commit 1df9f57
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ qt5_add_translation(${PROJECT_NAME}_QM_FILES
translations/tr.ts
translations/ug.ts
translations/uk.ts
translations/zh.ts
translations/zh_CN.ts
)

qt5_add_resources(
Expand Down
4 changes: 2 additions & 2 deletions src/widget/form/settings/generalform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static QStringList locales = {"ar",
"tr",
"ug",
"uk",
"zh"};
"zh_CN"};
static QStringList langs = {"Arabic",
"Беларуская",
"Български",
Expand Down Expand Up @@ -104,7 +104,7 @@ static QStringList langs = {"Arabic",
"Türkçe",
"ئۇيغۇرچە",
"Українська",
"简体中文"};
"中文(中国)"};

/**
* @class GeneralForm
Expand Down
2 changes: 1 addition & 1 deletion translations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ 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/) | [![Translation status](https://hosted.weblate.org/widgets/tox/zh/svg-badge.svg)](https://hosted.weblate.org/engage/tox/zh/?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)
2 changes: 1 addition & 1 deletion translations/i18n.pri
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ TRANSLATIONS = \
translations/tr.ts \
translations/ug.ts \
translations/uk.ts \
translations/zh.ts
translations/zh_CN.ts

#rules to generate ts
isEmpty(QMAKE_LUPDATE) {
Expand Down
2 changes: 1 addition & 1 deletion translations/translations.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
<file>tr.qm</file>
<file>ug.qm</file>
<file>uk.qm</file>
<file>zh.qm</file>
<file>zh_CN.qm</file>
</qresource>
</RCC>
File renamed without changes.

0 comments on commit 1df9f57

Please sign in to comment.