mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05: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
|
||||
(dissoc "unused")
|
||||
(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]}))))
|
||||
|
||||
(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")]
|
||||
|
||||
[:& 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")
|
||||
:default "en"
|
||||
:name :lang}]
|
||||
|
|
Loading…
Reference in a new issue