From 9301512936ab9e96217b8b5e8869c348c0548972 Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Tue, 19 Jul 2016 19:16:55 +0100 Subject: [PATCH] feat(l10n): add Uighur language to UI --- res.qrc | 1 + src/widget/form/settings/generalform.cpp | 2 ++ translations/README.md | 1 + translations/i18n.pri | 1 + 4 files changed, 5 insertions(+) diff --git a/res.qrc b/res.qrc index 819196aa8..86d97f7cc 100644 --- a/res.qrc +++ b/res.qrc @@ -68,6 +68,7 @@ translations/sl.qm translations/sv.qm translations/tr.qm + translations/ug.qm translations/uk.qm translations/zh.qm ui/fileTransferWidget/fileDone.svg diff --git a/src/widget/form/settings/generalform.cpp b/src/widget/form/settings/generalform.cpp index db512f81e..976a42ed1 100644 --- a/src/widget/form/settings/generalform.cpp +++ b/src/widget/form/settings/generalform.cpp @@ -66,6 +66,7 @@ static QStringList locales = {"ar", "fi", "sv", "tr", + "ug", "uk", "zh"}; static QStringList langs = {"Arabic", @@ -95,6 +96,7 @@ static QStringList langs = {"Arabic", "Suomi", "Svenska", "Türkçe", + "ئۇيغۇرچە", "Українська", "简体中文"}; diff --git a/translations/README.md b/translations/README.md index 18c9fd080..2c108d5f0 100644 --- a/translations/README.md +++ b/translations/README.md @@ -37,5 +37,6 @@ Language | Status [Suomi](https://hosted.weblate.org/engage/tox/fi/) | [![Translation status](https://hosted.weblate.org/widgets/tox/fi/svg-badge.svg)](https://hosted.weblate.org/engage/tox/fi/?utm_source=widget) [Svenska](https://hosted.weblate.org/engage/tox/sv/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sv/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sv/?utm_source=widget) [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) diff --git a/translations/i18n.pri b/translations/i18n.pri index 1fba08473..807501c33 100644 --- a/translations/i18n.pri +++ b/translations/i18n.pri @@ -27,6 +27,7 @@ TRANSLATIONS = \ translations/sl.ts \ translations/sv.ts \ translations/tr.ts \ + translations/ug.ts \ translations/uk.ts \ translations/zh.ts