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 %}
|
||||
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>
|
||||
|
||||
Reference in new issue
Block a user