Code

Ticket #5250: i18n_delete-6000.2.diff

File i18n_delete-6000.2.diff, 760 bytes (added by Florian Apolloner, 7 years ago)
Line 
1Index: django/contrib/admin/templates/admin/edit_inline_tabular.html
2===================================================================
3--- django/contrib/admin/templates/admin/edit_inline_tabular.html       (revision 6000)
4+++ django/contrib/admin/templates/admin/edit_inline_tabular.html       (working copy)
5@@ -1,3 +1,4 @@
6+{% load i18n %}
7 {{ bound_inline.formset.management_form }}
8 <fieldset class="module">
9    <h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2>
10@@ -3,5 +4,5 @@
11    <table>
12      <thead><tr>
13-     {% if bound_inline.formset.deletable %}<th>Delete?</th>{% endif %}
14+     {% if bound_inline.formset.deletable %}<th>{% trans "Delete" %}?</th>{% endif %}
15      {% for field in bound_inline.fields %}
16        {% if not field.is_hidden %}