0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

🎉 Add spanish language (and disable french)

This commit is contained in:
Andrés Moya 2020-06-09 14:11:10 +02:00
parent b915ba51aa
commit 60ec32f7cc
3 changed files with 496 additions and 483 deletions

View file

@ -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

View file

@ -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}]