mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Internationalize strings in template files
This commit is contained in:
1 parent
139db064a9
commit
02cd89b60d
64 files changed
+1331
-815
No files matched your search
@@ -19,21 +19,26 @@
|
||||
{% endcomment %}
|
||||
|
||||
{% load bootstrap %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>Delete User <em>{{ object.username }}</em></h3>
|
||||
<h3>
|
||||
{% blocktrans trimmed %}
|
||||
Delete User <em>{{ object.username }}</em>
|
||||
{% endblocktrans %}
|
||||
</h3>
|
||||
|
||||
<p>Delete user permanently?</p>
|
||||
<p>{% trans "Delete user permanently?" %}</p>
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
<input type="submit" class="btn btn-md btn-primary"
|
||||
value="Delete {{ object.username }}"/>
|
||||
value="{% blocktrans %}Delete {{ object.username }}{% endblocktrans %}"/>
|
||||
|
||||
<a href="{% url 'users:index' %}" role="button"
|
||||
class="btn btn-md btn-primary">Cancel</a>
|
||||
class="btn btn-md btn-primary">{% trans "Cancel" %}</a>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user