mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 07:21:43 +02:00
🎉 Add spanish language (and disable french)
This commit is contained in:
parent
b915ba51aa
commit
60ec32f7cc
3 changed files with 496 additions and 483 deletions
|
@ -82,7 +82,8 @@
|
||||||
(-> state
|
(-> state
|
||||||
(dissoc "unused")
|
(dissoc "unused")
|
||||||
(update "used-in" conj rpath)))))
|
(update "used-in" conj rpath)))))
|
||||||
(assoc data code {"translations" {"en" nil "fr" nil}
|
;; (assoc data code {"translations" {"en" nil "es" nil "fr" nil}
|
||||||
|
(assoc data code {"translations" {"en" nil "es" nil}
|
||||||
"used-in" [rpath]}))))
|
"used-in" [rpath]}))))
|
||||||
|
|
||||||
(defn- clean-removed-translations
|
(defn- clean-removed-translations
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -50,7 +50,8 @@
|
||||||
[:h2 (t locale "settings.language-change-title")]
|
[:h2 (t locale "settings.language-change-title")]
|
||||||
|
|
||||||
[:& select {:options [{:label "English" :value "en"}
|
[:& select {:options [{:label "English" :value "en"}
|
||||||
{:label "Français" :value "fr"}]
|
;; {:label "Français" :value "fr"}]
|
||||||
|
{:label "Español" :value "es"}]
|
||||||
:label (t locale "settings.language-label")
|
:label (t locale "settings.language-label")
|
||||||
:default "en"
|
:default "en"
|
||||||
:name :lang}]
|
:name :lang}]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue