Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit bd01c6ee5703f8efec06f65374c7961458de6ea6 1 parent 2db132e
Adrian Holovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/contrib/admin/templates/admin/edit_inline_tabular.html
5 django/contrib/admin/templates/admin/edit_inline_tabular.html
View
@@ -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 %}
+{% endcomment %}
Please sign in to comment.
Something went wrong with that request. Please try again.