From e051e26dadcdb72fa92fefdccffa025b93ef24de Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Apr 2023 10:51:44 +0200 Subject: [PATCH 1/6] :tada: Add czech lang --- frontend/gulpfile.js | 1 + frontend/src/app/util/i18n.cljs | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 1326239c35..92e6f480c4 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -49,6 +49,7 @@ function readLocales() { const langs = ["ar", "ca", "de", "el", "en", "eu", "it", "es", "fa", "fr", "he", "nb_NO", "pl", "pt_BR", "ro", "id", "ru", "tr", "zh_CN", "zh_Hant", "hr", "gl", "pt_PT", + "cs", // this happens when file does not matches correct // iso code for the language. ["ja_jp", "jpn_JP"] diff --git a/frontend/src/app/util/i18n.cljs b/frontend/src/app/util/i18n.cljs index 47e9eb88b3..d1fbfe120d 100644 --- a/frontend/src/app/util/i18n.cljs +++ b/frontend/src/app/util/i18n.cljs @@ -39,6 +39,7 @@ {:label "Türkçe (community)" :value "tr"} {:label "Ελληνική γλώσσα (community)" :value "el"} {:label "Русский (community)" :value "ru"} + {:label "Český jazyk (community)" :value "cs"} {:label "עִבְרִית (community)" :value "he"} {:label "عربي/عربى (community)" :value "ar"} {:label "فارسی (community)" :value "fa"} From 571439871bf5e0b3f9445b9f1b7ea77047a0dbd3 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Apr 2023 10:53:58 +0200 Subject: [PATCH 2/6] :tada: Add faroese lang --- frontend/gulpfile.js | 2 +- frontend/src/app/util/i18n.cljs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 92e6f480c4..db48b6c1c1 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -49,7 +49,7 @@ function readLocales() { const langs = ["ar", "ca", "de", "el", "en", "eu", "it", "es", "fa", "fr", "he", "nb_NO", "pl", "pt_BR", "ro", "id", "ru", "tr", "zh_CN", "zh_Hant", "hr", "gl", "pt_PT", - "cs", + "cs", "fo", // this happens when file does not matches correct // iso code for the language. ["ja_jp", "jpn_JP"] diff --git a/frontend/src/app/util/i18n.cljs b/frontend/src/app/util/i18n.cljs index d1fbfe120d..6667c90d32 100644 --- a/frontend/src/app/util/i18n.cljs +++ b/frontend/src/app/util/i18n.cljs @@ -40,6 +40,7 @@ {:label "Ελληνική γλώσσα (community)" :value "el"} {:label "Русский (community)" :value "ru"} {:label "Český jazyk (community)" :value "cs"} + {:label "Føroyskt mál (community)" :value "fo"} {:label "עִבְרִית (community)" :value "he"} {:label "عربي/عربى (community)" :value "ar"} {:label "فارسی (community)" :value "fa"} From 42acae3ae32f378ebab88193f97ca83940b0ab8f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Apr 2023 11:01:00 +0200 Subject: [PATCH 3/6] :tada: Add korean lang --- frontend/gulpfile.js | 2 +- frontend/src/app/util/i18n.cljs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index db48b6c1c1..2193173fb6 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -49,7 +49,7 @@ function readLocales() { const langs = ["ar", "ca", "de", "el", "en", "eu", "it", "es", "fa", "fr", "he", "nb_NO", "pl", "pt_BR", "ro", "id", "ru", "tr", "zh_CN", "zh_Hant", "hr", "gl", "pt_PT", - "cs", "fo", + "cs", "fo", "ko", // this happens when file does not matches correct // iso code for the language. ["ja_jp", "jpn_JP"] diff --git a/frontend/src/app/util/i18n.cljs b/frontend/src/app/util/i18n.cljs index 6667c90d32..b74ecb341b 100644 --- a/frontend/src/app/util/i18n.cljs +++ b/frontend/src/app/util/i18n.cljs @@ -41,6 +41,7 @@ {:label "Русский (community)" :value "ru"} {:label "Český jazyk (community)" :value "cs"} {:label "Føroyskt mál (community)" :value "fo"} + {:label "Korean (community)" :value "ko"} {:label "עִבְרִית (community)" :value "he"} {:label "عربي/عربى (community)" :value "ar"} {:label "فارسی (community)" :value "fa"} From f8d00c0e7fc3add461a0077e5322a57ba57bea87 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Apr 2023 11:02:58 +0200 Subject: [PATCH 4/6] :tada: Add latvian lang --- frontend/gulpfile.js | 2 +- frontend/src/app/util/i18n.cljs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 2193173fb6..e185aa14af 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -49,7 +49,7 @@ function readLocales() { const langs = ["ar", "ca", "de", "el", "en", "eu", "it", "es", "fa", "fr", "he", "nb_NO", "pl", "pt_BR", "ro", "id", "ru", "tr", "zh_CN", "zh_Hant", "hr", "gl", "pt_PT", - "cs", "fo", "ko", + "cs", "fo", "ko", "lv", // this happens when file does not matches correct // iso code for the language. ["ja_jp", "jpn_JP"] diff --git a/frontend/src/app/util/i18n.cljs b/frontend/src/app/util/i18n.cljs index b74ecb341b..57e898ca29 100644 --- a/frontend/src/app/util/i18n.cljs +++ b/frontend/src/app/util/i18n.cljs @@ -40,6 +40,7 @@ {:label "Ελληνική γλώσσα (community)" :value "el"} {:label "Русский (community)" :value "ru"} {:label "Český jazyk (community)" :value "cs"} + {:label "Latviešu valoda (community)" :value "lv"} {:label "Føroyskt mál (community)" :value "fo"} {:label "Korean (community)" :value "ko"} {:label "עִבְרִית (community)" :value "he"} From b5c160732e6bc75975560e035501f602604b8cac Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Apr 2023 11:07:03 +0200 Subject: [PATCH 5/6] :tada: Add ukranian lang --- frontend/gulpfile.js | 3 ++- frontend/src/app/util/i18n.cljs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index e185aa14af..6c63664434 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -52,7 +52,8 @@ function readLocales() { "cs", "fo", "ko", "lv", // this happens when file does not matches correct // iso code for the language. - ["ja_jp", "jpn_JP"] + ["ja_jp", "jpn_JP"], + ["uk", "ukr_UA"] ]; const result = {}; diff --git a/frontend/src/app/util/i18n.cljs b/frontend/src/app/util/i18n.cljs index 57e898ca29..a1f053c73c 100644 --- a/frontend/src/app/util/i18n.cljs +++ b/frontend/src/app/util/i18n.cljs @@ -39,6 +39,7 @@ {:label "Türkçe (community)" :value "tr"} {:label "Ελληνική γλώσσα (community)" :value "el"} {:label "Русский (community)" :value "ru"} + {:label "Украї́нська мо́ва (community)" :value "uk"} {:label "Český jazyk (community)" :value "cs"} {:label "Latviešu valoda (community)" :value "lv"} {:label "Føroyskt mál (community)" :value "fo"} From 3311bf6ac04f6f010e5bf74b692c5ddee42240b7 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Apr 2023 11:11:15 +0200 Subject: [PATCH 6/6] :paperclip: Remove duplicated file --- frontend/gulpfile.js | 1 + frontend/translations/fi.po | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 frontend/translations/fi.po diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index 6c63664434..d918596731 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -53,6 +53,7 @@ function readLocales() { // this happens when file does not matches correct // iso code for the language. ["ja_jp", "jpn_JP"], + // ["fi", "fin_FI"], ["uk", "ukr_UA"] ]; const result = {}; diff --git a/frontend/translations/fi.po b/frontend/translations/fi.po deleted file mode 100644 index b1fc23594e..0000000000 --- a/frontend/translations/fi.po +++ /dev/null @@ -1,6 +0,0 @@ -msgid "" -msgstr "" -"X-Generator: Weblate\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" \ No newline at end of file