From 2751e6b5d2d50e850c292e037beaa64bd64327e3 Mon Sep 17 00:00:00 2001 From: Dr-Vell Date: Fri, 16 Dec 2022 20:09:27 +0100 Subject: [PATCH] =?UTF-8?q?[Desarrollo]=20Traducci=C3=B3n=20ingl=C3=A9s=20?= =?UTF-8?q?de=20booth.html=20Se=20ha=20a=C3=B1adido=20la=20traducci=C3=B3n?= =?UTF-8?q?=20al=20ingl=C3=A9s=20del=20bot=C3=B3n=20de=20login=20con=20twi?= =?UTF-8?q?tter,=20del=20or=20y=20de=20=20logout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- decide/booth/locale/en_US/LC_MESSAGES/django.po | 9 +++++++++ decide/booth/templates/booth/booth.html | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/decide/booth/locale/en_US/LC_MESSAGES/django.po b/decide/booth/locale/en_US/LC_MESSAGES/django.po index d5d36623dc..d4f954ff95 100644 --- a/decide/booth/locale/en_US/LC_MESSAGES/django.po +++ b/decide/booth/locale/en_US/LC_MESSAGES/django.po @@ -22,6 +22,12 @@ msgstr "Decide" msgid "logout" msgstr "Logout" +msgid "logoutFrom" +msgstr "Logout from " + +msgid "or" +msgstr "------or------" + msgid "vID" msgstr "ID of Vote" @@ -34,6 +40,9 @@ msgstr "Login" msgid "LoginGitHub" msgstr "Login with GitHub" +msgid "LoginTwitter" +msgstr "Login with Twitter" + msgid "LoginFacebook" msgstr "Login with Facebook" diff --git a/decide/booth/templates/booth/booth.html b/decide/booth/templates/booth/booth.html index 5f4081b487..8fad9f5f4a 100644 --- a/decide/booth/templates/booth/booth.html +++ b/decide/booth/templates/booth/booth.html @@ -55,13 +55,13 @@

{% trans "vName" %}: [[ voting.name ]]

{% if not user.is_authenticated and not user.is_staff %} -

------or------

+

{% trans "or" %}

{% trans "LoginGitHub" %} - Login with Twitter + {% trans "LoginTwitter" %} {% elif not user.is_staff %} @@ -70,7 +70,7 @@

------or------

{% trans "vote_with" %} {{user.social_auth.get.provider}} - Logout from {{user.social_auth.get.provider}} + {% trans "logoutFrom" %}{{user.social_auth.get.provider}} {% endif %}