🐛 Translations missing on login/register for 'Terms of service and Privacy policy'

This commit is contained in:
Pablo Alba 2022-03-23 13:10:53 +01:00
parent 7d483b36d0
commit a68612ca2b
3 changed files with 10 additions and 4 deletions

View file

@ -25,13 +25,13 @@
(when show-all? (when show-all?
[:div.terms-login [:div.terms-login
(when show-terms? (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? (when show-all?
[:span "and"]) [:span (tr "auth.and")])
(when show-privacy? (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 (mf/defc auth
[{:keys [route] :as props}] [{:keys [route] :as props}]

View file

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

View file

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