Allow translators to control the word order
Closes-Bug #1208807 Change-Id: I2d07a34b3c0479cb6384ef0041f8a6f4c58e1699
This commit is contained in:
parent
8cc1517c26
commit
1b8609d9dc
@ -1,7 +1,7 @@
|
||||
{% load i18n %}
|
||||
{% load url from future %}
|
||||
<div id="user_info" class="pull-right">
|
||||
<span>{% trans "Logged in as" %}: {{ request.user.username }}</span>
|
||||
<span>{% blocktrans with username=request.user.username %}Logged in as: {{ username }}{% endblocktrans %}</span>
|
||||
{% if HORIZON_CONFIG.help_url %}
|
||||
<a href="{{ HORIZON_CONFIG.help_url }}" target="_new">{% trans "Help" %}</a>
|
||||
{% endif %}
|
||||
|
@ -4,8 +4,7 @@
|
||||
<form action="" method="get" id="date_form" class="form-horizontal">
|
||||
<h3>{% trans "Select a period of time to query its usage" %}: </h3>
|
||||
<div class="datepicker">
|
||||
<span>{% trans "From" %}: {{ form.start }} </span>
|
||||
<span>{% trans "To" %}: {{ form.end }} </span>
|
||||
{% blocktrans with start=form.start end=form.end %}<span>From: {{ start }} </span><span>To: {{ end }} </span>{% endblocktrans %}
|
||||
<button class="btn btn-small" type="submit">{% trans "Submit" %}</button>
|
||||
<small>{% trans "The date should be in YYYY-mm-dd format." %}</small>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% load i18n %}
|
||||
{% load url from future %}
|
||||
<div id="user_info" class="pull-right">
|
||||
<span>{% trans "Logged in as" %}: {{ request.user.username }}</span>
|
||||
<span>{% blocktrans with username=request.user.username %}Logged in as: {{ username }}{% endblocktrans %}</span>
|
||||
<a href="{% url 'horizon:settings:user:index' %}">{% trans "Settings" %}</a>
|
||||
{% if HORIZON_CONFIG.help_url %}
|
||||
<a href="{{ HORIZON_CONFIG.help_url }}" target="_new">{% trans "Help" %}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user