From a78a25aa143271d415a2f4ee5f985c23bd2bde9a Mon Sep 17 00:00:00 2001 From: Francisco J Migueles Student <99977786+Framigdom@users.noreply.github.com> Date: Sat, 3 Dec 2022 12:41:22 +0100 Subject: [PATCH] [DES] Interfaz traducible actualizada. Modificado todas las etiquetas "trans" del html del proyecto. --- .../locale/en_US/LC_MESSAGES/django.po | 16 ++++++++++++-- .../templates/authentication/register.html | 6 ++--- decide/base/templates/base.html | 9 +------- decide/booth/templates/booth/booth.html | 6 ++--- decide/booth/templates/booth/votings.html | 12 +++++----- decide/census/templates/census/census.html | 12 +++++----- .../templates/visualizer/visualizer.html | 22 +++++++++---------- 7 files changed, 44 insertions(+), 39 deletions(-) diff --git a/decide/authentication/locale/en_US/LC_MESSAGES/django.po b/decide/authentication/locale/en_US/LC_MESSAGES/django.po index a1d1ecefce..6054ff85e3 100644 --- a/decide/authentication/locale/en_US/LC_MESSAGES/django.po +++ b/decide/authentication/locale/en_US/LC_MESSAGES/django.po @@ -14,7 +14,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -msgid "registrar" +msgid "register" msgstr "Registration" msgid "infoRegistrar" @@ -33,4 +33,16 @@ msgid "email" msgstr "Email" msgid "password" -msgstr "Password" \ No newline at end of file +msgstr "Password" + +msgid "acceptRegister" +msgstr "By registering, you accept the" + +msgid "terms" +msgstr "Terms & Privacy" + +msgid "alreadyAccount" +msgstr "Already have an account?" + +msgid "sign" +msgstr "Sign In" \ No newline at end of file diff --git a/decide/authentication/templates/authentication/register.html b/decide/authentication/templates/authentication/register.html index a898817be4..c872e904ea 100644 --- a/decide/authentication/templates/authentication/register.html +++ b/decide/authentication/templates/authentication/register.html @@ -40,13 +40,13 @@
By registering, you accept the Terms & Privacy.
+{% trans "acceptRegister" %}{% trans "terms" %}.
Already have an account? Sign In
+{% trans "alreadyAccount" %}{% trans "sign" %}
Registrado en {{user.social_auth.get.provider}} como {{user}}
+{% trans "register_as_1" %}{{user.social_auth.get.provider}} {% trans "register_as_2" %} {{user}}
Booth votación {{voting.id}}
{% trans "booth_voting" %} {{voting.id}}
Votación cerrada
{% trans "closed_voting" %}
Censo votación {{voting.id}}
{% trans "voting_census" %} {{voting.id}}