mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Fix i18n of template expressions
This commit is contained in:
1 parent
b84534eaec
commit
01d50c7ae8
17 files changed
+76
-76
No files matched your search
@@ -24,8 +24,8 @@
|
||||
{% block content %}
|
||||
|
||||
<h3>
|
||||
{% blocktrans trimmed %}
|
||||
Change Password for <em>{{ form.user.username }}</em>
|
||||
{% blocktrans trimmed with username=form.user.username %}
|
||||
Change Password for <em>{{ username }}</em>
|
||||
{% endblocktrans %}
|
||||
</h3>
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
{% block content %}
|
||||
|
||||
<h3>
|
||||
{% blocktrans trimmed %}
|
||||
Delete User <em>{{ object.username }}</em>
|
||||
{% blocktrans trimmed with username=object.username %}
|
||||
Delete User <em>{{ username }}</em>
|
||||
{% endblocktrans %}
|
||||
</h3>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
{% csrf_token %}
|
||||
|
||||
<input type="submit" class="btn btn-md btn-primary"
|
||||
value="{% blocktrans %}Delete {{ object.username }}{% endblocktrans %}"/>
|
||||
value="{% blocktrans with username=object.username %}Delete {{ username }}{% endblocktrans %}"/>
|
||||
|
||||
<a href="{% url 'users:index' %}" role="button"
|
||||
class="btn btn-md btn-primary">{% trans "Cancel" %}</a>
|
||||
|
||||
@@ -43,14 +43,14 @@
|
||||
<a href="{% url 'users:delete' user.username %}"
|
||||
class="btn btn-default btn-sm pull-right"
|
||||
role="button"
|
||||
title="{% blocktrans %}Delete user {{ user.username }}{% endblocktrans %}">
|
||||
title="{% blocktrans with username=user.username %}Delete user {{ username }}{% endblocktrans %}">
|
||||
<span class="glyphicon glyphicon-trash"
|
||||
aria-hidden="true"></span>
|
||||
</a>
|
||||
|
||||
<a class='user-edit-label'
|
||||
href="{% url 'users:edit' user.username %}"
|
||||
title="{% blocktrans %}Edit user {{ user.username }}{% endblocktrans %}">
|
||||
title="{% blocktrans with username=user.username %}Edit user {{ username }}{% endblocktrans %}">
|
||||
{{ user.username }}
|
||||
</a>
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
{% block content %}
|
||||
|
||||
<h3>
|
||||
{% blocktrans trimmed %}
|
||||
Edit User <em>{{ object.username }}</em>
|
||||
{% blocktrans trimmed with username=object.username %}
|
||||
Edit User <em>{{ username }}</em>
|
||||
{% endblocktrans %}
|
||||
</h3>
|
||||
|
||||
|
||||
Reference in new issue
Block a user