diff --git a/horizon/templates/_header.html b/horizon/templates/_header.html index 76e9965163..ec4eeb2632 100644 --- a/horizon/templates/_header.html +++ b/horizon/templates/_header.html @@ -1,7 +1,7 @@ {% load i18n %} {% load url from future %}
- {% trans "Logged in as" %}: {{ request.user.username }} + {% blocktrans with username=request.user.username %}Logged in as: {{ username }}{% endblocktrans %} {% if HORIZON_CONFIG.help_url %} {% trans "Help" %} {% endif %} diff --git a/horizon/templates/horizon/common/_usage_summary.html b/horizon/templates/horizon/common/_usage_summary.html index 6b34d3ac1e..139204b047 100644 --- a/horizon/templates/horizon/common/_usage_summary.html +++ b/horizon/templates/horizon/common/_usage_summary.html @@ -4,8 +4,7 @@

{% trans "Select a period of time to query its usage" %}:

- {% trans "From" %}: {{ form.start }} - {% trans "To" %}: {{ form.end }} + {% blocktrans with start=form.start end=form.end %}From: {{ start }} To: {{ end }} {% endblocktrans %} {% trans "The date should be in YYYY-mm-dd format." %}
diff --git a/openstack_dashboard/templates/_header.html b/openstack_dashboard/templates/_header.html index a18b6ed0cf..62423d6066 100644 --- a/openstack_dashboard/templates/_header.html +++ b/openstack_dashboard/templates/_header.html @@ -1,7 +1,7 @@ {% load i18n %} {% load url from future %}
- {% trans "Logged in as" %}: {{ request.user.username }} + {% blocktrans with username=request.user.username %}Logged in as: {{ username }}{% endblocktrans %} {% trans "Settings" %} {% if HORIZON_CONFIG.help_url %} {% trans "Help" %}