diff --git a/photo21/locale/fr/LC_MESSAGES/django.po b/photo21/locale/fr/LC_MESSAGES/django.po index 2ce643a..d611cf3 100644 --- a/photo21/locale/fr/LC_MESSAGES/django.po +++ b/photo21/locale/fr/LC_MESSAGES/django.po @@ -101,7 +101,7 @@ msgstr "" msgid "Log in" msgstr "" -#: photo21/templates/index.html:22 +#: photo21/templates/index.html:42 msgid "Connected as" msgstr "Connecté en tant que" @@ -130,6 +130,10 @@ msgstr "" msgid "Forgotten your password or username?" msgstr "" +#: photo21/templates/registration/login.html:43 +msgid "If any problem, please contact the server owners at" +msgstr "En cas de problème, contactez les administrateurs à" + #: photo21/templates/registration/password_change_done.html:13 msgid "Your password was changed." msgstr "" diff --git a/photo21/templates/index.html b/photo21/templates/index.html index 8270ca9..056d4ae 100644 --- a/photo21/templates/index.html +++ b/photo21/templates/index.html @@ -5,9 +5,47 @@ SPDX-License-Identifier: GPL-3.0-or-later {% load i18n %} {% block content %} -
- {% if request.user.is_authenticated %} - {% trans "Connected as" %} {{ request.user.username }} - {% endif %} {% endblock %} \ No newline at end of file diff --git a/photo21/templates/registration/login.html b/photo21/templates/registration/login.html index 8d6a0aa..ac23d00 100644 --- a/photo21/templates/registration/login.html +++ b/photo21/templates/registration/login.html @@ -10,7 +10,7 @@ SPDX-License-Identifier: GPL-2.0-or-later {% endblock %} {% block content %} -{% trans "If any problem, please contact the server owners at" %} photos[at]crans.org.