From 479cd90f9ca7f220e249bb227d78127ce8efd62b Mon Sep 17 00:00:00 2001 From: Anthony Bilinski Date: Thu, 4 Mar 2021 05:30:49 -0800 Subject: [PATCH] chore(i18n): Add new languages Language codes: BER, GL, KN, SI, SQ --- src/widget/form/settings/generalform.cpp | 5 +++++ translations/CMakeLists.txt | 5 +++++ translations/README.md | 5 +++++ translations/i18n.pri | 5 +++++ translations/translations.qrc | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/src/widget/form/settings/generalform.cpp b/src/widget/form/settings/generalform.cpp index f4623fe5e..57addabe8 100644 --- a/src/widget/form/settings/generalform.cpp +++ b/src/widget/form/settings/generalform.cpp @@ -38,6 +38,7 @@ static QStringList locales = { "ar", "be", + "ber", "bg", "cs", "da", @@ -49,10 +50,14 @@ static QStringList locales = { "eo", "fa", "fr", + "gl", + "kn", "ko", "he", "hr", "it", + "si", + "sq", "sw", "lt", "jbo", diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt index 02afda0bf..5c546541d 100644 --- a/translations/CMakeLists.txt +++ b/translations/CMakeLists.txt @@ -18,6 +18,7 @@ qt5_add_translation(translations_FILES ar.ts be.ts + ber.ts bg.ts cs.ts da.ts @@ -29,12 +30,14 @@ qt5_add_translation(translations_FILES fa.ts fi.ts fr.ts + gl.ts he.ts hr.ts hu.ts it.ts ja.ts jbo.ts + kn.ts ko.ts lt.ts mk.ts @@ -46,8 +49,10 @@ qt5_add_translation(translations_FILES pt_BR.ts ro.ts ru.ts + si.ts sk.ts sl.ts + sq.ts sr.ts sr_Latn.ts sv.ts diff --git a/translations/README.md b/translations/README.md index 97c9a9583..1eb98f9da 100644 --- a/translations/README.md +++ b/translations/README.md @@ -9,6 +9,7 @@ Language | Status -------- | ------ [Arabic](https://hosted.weblate.org/engage/tox/ar/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ar/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ar/?utm_source=widget) [Беларуская](https://hosted.weblate.org/engage/tox/be/) | [![Translation status](https://hosted.weblate.org/widgets/tox/be/svg-badge.svg)](https://hosted.weblate.org/engage/tox/be/?utm_source=widget) +[ⵜⵎⵣⵗⵜ](https://hosted.weblate.org/engage/tox/ber/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ber/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ber/?utm_source=widget) [Български](https://hosted.weblate.org/engage/tox/bg/) | [![Translation status](https://hosted.weblate.org/widgets/tox/bg/svg-badge.svg)](https://hosted.weblate.org/engage/tox/bg/?utm_source=widget) [Čeština](https://hosted.weblate.org/engage/tox/cs/) | [![Translation status](https://hosted.weblate.org/widgets/tox/cs/svg-badge.svg)](https://hosted.weblate.org/engage/tox/cs/?utm_source=widget) [Dansk](https://hosted.weblate.org/engage/tox/da/) | [![Translation status](https://hosted.weblate.org/widgets/tox/da/svg-badge.svg)](https://hosted.weblate.org/engage/tox/da/?utm_source=widget) @@ -19,10 +20,12 @@ Language | Status [Esperanto](https://hosted.weblate.org/engage/tox/eo/) | [![Translation status](https://hosted.weblate.org/widgets/tox/eo/svg-badge.svg)](https://hosted.weblate.org/engage/tox/eo/?utm_source=widget) [فارسی](https://hosted.weblate.org/engage/tox/fa/) | [![Translation status](https://hosted.weblate.org/widgets/tox/fa/svg-badge.svg)](https://hosted.weblate.org/engage/tox/fa/?utm_source=widget) [Français](https://hosted.weblate.org/engage/tox/fr/) | [![Translation status](https://hosted.weblate.org/widgets/tox/fr/svg-badge.svg)](https://hosted.weblate.org/engage/tox/fr/?utm_source=widget) +[Galego](https://hosted.weblate.org/engage/tox/gl/) | [![Translation status](https://hosted.weblate.org/widgets/tox/gl/svg-badge.svg)](https://hosted.weblate.org/engage/tox/gl/?utm_source=widget) [한국어](https://hosted.weblate.org/engage/tox/ko/) | [![Translation status](https://hosted.weblate.org/widgets/tox/ko/svg-badge.svg)](https://hosted.weblate.org/engage/tox/ko/?utm_source=widget) [עברית](https://hosted.weblate.org/engage/tox/he/) | [![Translation status](https://hosted.weblate.org/widgets/tox/he/svg-badge.svg)](https://hosted.weblate.org/engage/tox/he/?utm_source=widget) [Hrvatski](https://hosted.weblate.org/engage/tox/hr/) | [![Translation status](https://hosted.weblate.org/widgets/tox/hr/svg-badge.svg)](https://hosted.weblate.org/engage/tox/hr/?utm_source=widget) [Italiano](https://hosted.weblate.org/engage/tox/it/) | [![Translation status](https://hosted.weblate.org/widgets/tox/it/svg-badge.svg)](https://hosted.weblate.org/engage/tox/it/?utm_source=widget) +[ಕನ್ನಡ](https://hosted.weblate.org/engage/tox/kn/) | [![Translation status](https://hosted.weblate.org/widgets/tox/kn/svg-badge.svg)](https://hosted.weblate.org/engage/tox/kn/?utm_source=widget) [Kiswahili](https://hosted.weblate.org/engage/tox/sw/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sw/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sw/?utm_source=widget) [Lietuvių](https://hosted.weblate.org/engage/tox/lt/) | [![Translation status](https://hosted.weblate.org/widgets/tox/lt/svg-badge.svg)](https://hosted.weblate.org/engage/tox/lt/?utm_source=widget) [Lojban](https://hosted.weblate.org/engage/tox/jbo/) | [![Translation status](https://hosted.weblate.org/widgets/tox/jbo/svg-badge.svg)](https://hosted.weblate.org/engage/tox/jbo/?utm_source=widget) @@ -40,6 +43,8 @@ Language | Status [Slovenčina](https://hosted.weblate.org/engage/tox/sk/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sk/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sk/?utm_source=widget) [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) [Српски](https://hosted.weblate.org/engage/tox/sr/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sr/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sr/?utm_source=widget) +[සිංහල](https://hosted.weblate.org/engage/tox/si/) | [![Translation status](https://hosted.weblate.org/widgets/tox/si/svg-badge.svg)](https://hosted.weblate.org/engage/tox/si/?utm_source=widget) +[Shqip](https://hosted.weblate.org/engage/tox/sq/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sq/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sq/?utm_source=widget) [Srpski](https://hosted.weblate.org/engage/tox/sr_Latn/) | [![Translation status](https://hosted.weblate.org/widgets/tox/sr_Latn/svg-badge.svg)](https://hosted.weblate.org/engage/tox/sr_Latn/?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) diff --git a/translations/i18n.pri b/translations/i18n.pri index df09bb399..bfe7d40ac 100644 --- a/translations/i18n.pri +++ b/translations/i18n.pri @@ -3,6 +3,7 @@ TRANSLATIONS = \ translations/ar.ts \ translations/be.ts \ + translations/ber.ts \ translations/bg.ts \ translations/cs.ts \ translations/da.ts \ @@ -14,12 +15,14 @@ TRANSLATIONS = \ translations/fa.ts \ translations/fi.ts \ translations/fr.ts \ + translations/gl.ts \ translations/he.ts \ translations/hr.ts \ translations/hu.ts \ translations/it.ts \ translations/ja.ts \ translations/jbo.ts \ + translations/kn.ts \ translations/ko.ts \ translations/mk.ts \ translations/nl.ts \ @@ -31,8 +34,10 @@ TRANSLATIONS = \ translations/pt_BR.ts \ translations/ro.ts \ translations/ru.ts \ + translations/si.ts \ translations/sk.ts \ translations/sl.ts \ + translations/sq.ts \ translations/sr.ts \ translations/sr_Latn.ts \ translations/sv.ts \ diff --git a/translations/translations.qrc b/translations/translations.qrc index 11530ed6f..1ff1aa3f6 100644 --- a/translations/translations.qrc +++ b/translations/translations.qrc @@ -2,6 +2,7 @@ ar.qm be.qm + ber.ts bg.qm cs.qm da.qm @@ -13,12 +14,14 @@ fa.qm fi.qm fr.qm + gl.ts he.qm hr.qm hu.qm it.qm ja.qm jbo.qm + kn.ts ko.qm lt.qm mk.qm @@ -30,8 +33,10 @@ pt_BR.qm ro.qm ru.qm + si.ts sk.qm sl.qm + sq.ts sr.qm sr_Latn.qm sv.qm