From 5bcf5ff4bcf17caed9556c2b9d72764d1e6bee39 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 6 Sep 2022 11:11:30 +0200 Subject: [PATCH] :tada: Add it and eu languages to the i18n subsystem --- backend/src/app/auth/oidc.clj | 2 +- frontend/gulpfile.js | 2 +- frontend/src/app/util/i18n.cljs | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/src/app/auth/oidc.clj b/backend/src/app/auth/oidc.clj index d660eef25..52b48b831 100644 --- a/backend/src/app/auth/oidc.clj +++ b/backend/src/app/auth/oidc.clj @@ -436,7 +436,7 @@ (when (fn? audit) (audit :cmd :submit - :type "mutation" + :type "command" :name "login" :profile-id (:id profile) :ip-addr (audit/parse-client-ip request) diff --git a/frontend/gulpfile.js b/frontend/gulpfile.js index a7e7ed44f..86c9325de 100644 --- a/frontend/gulpfile.js +++ b/frontend/gulpfile.js @@ -44,7 +44,7 @@ marked.use({renderer}); // Templates function readLocales() { - const langs = ["ar", "ca", "de", "el", "en", "es", "fa", "fr", "he", "nb_NO", "pl", "pt_BR", "ro", "ru", "tr", "zh_CN", "zh_Hant"]; + const langs = ["ar", "ca", "de", "el", "en", "eu", "it", "es", "fa", "fr", "he", "nb_NO", "pl", "pt_BR", "ro", "ru", "tr", "zh_CN", "zh_Hant"]; const result = {}; for (let lang of langs) { diff --git a/frontend/src/app/util/i18n.cljs b/frontend/src/app/util/i18n.cljs index 758d99125..c6f083cff 100644 --- a/frontend/src/app/util/i18n.cljs +++ b/frontend/src/app/util/i18n.cljs @@ -26,7 +26,8 @@ {:label "Català" :value "ca"} {:label "Français (community)" :value "fr"} {:label "Deutsch (community)" :value "de"} - ;; {:label "Italiano (community)" :value "it"} + {:label "Italiano (community)" :value "it"} + {:label "Euskera" :value "eu"} {:label "Norsk - Bokmål (community)" :value "nb_no"} {:label "Portuguese - Brazil (community)" :value "pt_br"} {:label "Polski (community)" :value "pl"}