summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-09-02 20:06:22 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-09-02 20:06:22 +0000
commitbd01c6ee5703f8efec06f65374c7961458de6ea6 (patch)
tree53092e533e9a9006b685f934f01a31b2a67b47ae
parent2db132ebb75f3b1c64d4415de23bd0781055d534 (diff)
newforms-admin: Fixed #5250 -- Added translation hook to 'Delete' in admin edit_inline_tabular.html template
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/admin/templates/admin/edit_inline_tabular.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/django/contrib/admin/templates/admin/edit_inline_tabular.html b/django/contrib/admin/templates/admin/edit_inline_tabular.html
index 91aac45a4f..449345d7a1 100644
--- a/django/contrib/admin/templates/admin/edit_inline_tabular.html
+++ b/django/contrib/admin/templates/admin/edit_inline_tabular.html
@@ -1,9 +1,10 @@
+{% load i18n %}
{{ bound_inline.formset.management_form }}
<fieldset class="module">
<h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2>
<table>
<thead><tr>
- {% if bound_inline.formset.deletable %}<th>Delete?</th>{% endif %}
+ {% if bound_inline.formset.deletable %}<th>{% trans "Delete" %}?</th>{% endif %}
{% for field in bound_inline.fields %}
{% if not field.is_hidden %}
<th>{{ field.label|capfirst|escape }}</th>
@@ -90,4 +91,4 @@
{% endfor %}
{% endfor %}
</fieldset>
-{% endcomment %} \ No newline at end of file
+{% endcomment %}