Permalink
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...
adrianholovaty committed Sep 2, 2007
1 parent 2db132e commit bd01c6ee5703f8efec06f65374c7961458de6ea6
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/contrib/admin/templates/admin/edit_inline_tabular.html
@@ -1,9 +1,10 @@
{% load i18n %}
{{ bound_inline.formset.management_form }} {{ bound_inline.formset.management_form }}
<fieldset class="module"> <fieldset class="module">
<h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2> <h2>{{ bound_inline.verbose_name_plural|capfirst|escape }}</h2>
<table> <table>
<thead><tr> <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 %} {% for field in bound_inline.fields %}
{% if not field.is_hidden %} {% if not field.is_hidden %}
<th>{{ field.label|capfirst|escape }}</th> <th>{{ field.label|capfirst|escape }}</th>
@@ -90,4 +91,4 @@ <h2>{{ bound_related_object.relation.opts.verbose_name_plural|capfirst|escape }}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
</fieldset> </fieldset>
{% endcomment %} {% endcomment %}

0 comments on commit bd01c6e

Please sign in to comment.