From bf405e17fb63036c23621b8abc96692fe813eb6b Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Sun, 9 Jul 2017 04:26:13 +0100 Subject: [PATCH] feat(l10n): add Tamil translation to UI --- CMakeLists.txt | 1 + src/widget/form/settings/generalform.cpp | 2 ++ translations/README.md | 1 + translations/i18n.pri | 1 + translations/translations.qrc | 1 + 5 files changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a36832c8..103852c77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,6 +130,7 @@ qt5_add_translation(${PROJECT_NAME}_QM_FILES translations/sl.ts translations/sv.ts translations/sw.ts + translations/ta.ts translations/tr.ts translations/ug.ts translations/uk.ts diff --git a/src/widget/form/settings/generalform.cpp b/src/widget/form/settings/generalform.cpp index f9f2468ab..ddfc76a34 100644 --- a/src/widget/form/settings/generalform.cpp +++ b/src/widget/form/settings/generalform.cpp @@ -69,6 +69,7 @@ static QStringList locales = { "sl", "fi", "sv", + "ta", "tr", "ug", "uk", @@ -108,6 +109,7 @@ static QStringList langs = { "Slovenščina", "Suomi", "Svenska", + "தமிழ்", "Türkçe", "ئۇيغۇرچە", "Українська", diff --git a/translations/README.md b/translations/README.md index b176a1e0b..d8a7614af 100644 --- a/translations/README.md +++ b/translations/README.md @@ -42,6 +42,7 @@ Language | Status [Slovenščina](https://hosted.weblate.org/engage/tox/sl/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sl/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sl/?utm_source=widget) [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) +[தமிழ்](https://hosted.weblate.org/engage/tox/ta/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ta/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ta/?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) diff --git a/translations/i18n.pri b/translations/i18n.pri index 11a7803fa..8c5a33d03 100644 --- a/translations/i18n.pri +++ b/translations/i18n.pri @@ -32,6 +32,7 @@ TRANSLATIONS = \ translations/sl.ts \ translations/sv.ts \ translations/sw.ts \ + translations/ta.ts \ translations/tr.ts \ translations/ug.ts \ translations/uk.ts \ diff --git a/translations/translations.qrc b/translations/translations.qrc index b0c30a19c..083e1a0c8 100644 --- a/translations/translations.qrc +++ b/translations/translations.qrc @@ -31,6 +31,7 @@ sl.qm sv.qm sw.qm + ta.qm tr.qm ug.qm uk.qm