X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Fbase%2Flogin.html;fp=templates%2Fbase%2Flogin.html;h=37fdf44a6cd82a73e5e1cbe68498f759eb746d25;hb=c5cbeefd03ddece1d37e966ad0b6f56ece29113f;hp=07bfd33356f4fbc4034cbaac1cc0710d3283f550;hpb=6fa55cac1c136867267f139619fe4c07639d89cf;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/base/login.html b/templates/base/login.html index 07bfd33..37fdf44 100644 --- a/templates/base/login.html +++ b/templates/base/login.html @@ -1,23 +1,24 @@ +{% load i18n %} {% extends "base/base.html" %} {% block content %} {% if form.has_errors %} -
Your username and password didn't match. Please try again.
+{% trans "Your username and password didn't match. Please try again." %}
{% endif %} {% if user.is_authenticated %} -You are currently logged in as {{ user.username }}
- +{% blocktrans with user.username as username %}You are currently logged in as {{ username }}{% endblocktrans %}
+ {% endif %}