0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-05 03:21:26 -05:00

Merge pull request #1715 from penpot/add-translations-terms-privacy

🐛 Translations missing on login/register for 'Terms of service an…
This commit is contained in:
Pablo Alba 2022-03-23 13:20:18 +01:00 committed by GitHub
commit 8fa708d573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View file

@ -25,13 +25,13 @@
(when show-all?
[:div.terms-login
(when show-terms?
[:a {:href cf/terms-of-service-uri :target "_blank"} "Terms of service"])
[:a {:href cf/terms-of-service-uri :target "_blank"} (tr "auth.terms-of-service")])
(when show-all?
[:span "and"])
[:span (tr "auth.and")])
(when show-privacy?
[:a {:href cf/privacy-policy-uri :target "_blank"} "Privacy policy"])])))
[:a {:href cf/privacy-policy-uri :target "_blank"} (tr "auth.privacy-policy")])])))
(mf/defc auth
[{:keys [route] :as props}]

View file

@ -117,6 +117,9 @@ msgstr "Password"
msgid "auth.password-length-hint"
msgstr "At least 8 characters"
msgid "auth.and"
msgstr "and"
msgid "auth.privacy-policy"
msgstr "Privacy policy"

View file

@ -121,6 +121,9 @@ msgstr "Contraseña"
msgid "auth.password-length-hint"
msgstr "8 caracteres como mínimo"
msgid "auth.and"
msgstr "y"
msgid "auth.privacy-policy"
msgstr "Política de privacidad"
@ -161,7 +164,7 @@ msgid "auth.sidebar-tagline"
msgstr "La solución de código abierto para diseñar y prototipar"
msgid "auth.terms-of-service"
msgstr "Terminos de servicio"
msgstr "Términos de servicio"
#: src/app/main/ui/auth/register.cljs
msgid "auth.terms-privacy-agreement"