mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
🎉 Add it and eu languages to the i18n subsystem
This commit is contained in:
parent
d41c2388c1
commit
5bcf5ff4bc
3 changed files with 4 additions and 3 deletions
|
@ -436,7 +436,7 @@
|
||||||
|
|
||||||
(when (fn? audit)
|
(when (fn? audit)
|
||||||
(audit :cmd :submit
|
(audit :cmd :submit
|
||||||
:type "mutation"
|
:type "command"
|
||||||
:name "login"
|
:name "login"
|
||||||
:profile-id (:id profile)
|
:profile-id (:id profile)
|
||||||
:ip-addr (audit/parse-client-ip request)
|
:ip-addr (audit/parse-client-ip request)
|
||||||
|
|
|
@ -44,7 +44,7 @@ marked.use({renderer});
|
||||||
// Templates
|
// Templates
|
||||||
|
|
||||||
function readLocales() {
|
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 = {};
|
const result = {};
|
||||||
|
|
||||||
for (let lang of langs) {
|
for (let lang of langs) {
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
{:label "Català" :value "ca"}
|
{:label "Català" :value "ca"}
|
||||||
{:label "Français (community)" :value "fr"}
|
{:label "Français (community)" :value "fr"}
|
||||||
{:label "Deutsch (community)" :value "de"}
|
{: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 "Norsk - Bokmål (community)" :value "nb_no"}
|
||||||
{:label "Portuguese - Brazil (community)" :value "pt_br"}
|
{:label "Portuguese - Brazil (community)" :value "pt_br"}
|
||||||
{:label "Polski (community)" :value "pl"}
|
{:label "Polski (community)" :value "pl"}
|
||||||
|
|
Loading…
Reference in a new issue