From bd01c6ee5703f8efec06f65374c7961458de6ea6 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 2 Sep 2007 20:06:22 +0000 Subject: [PATCH] 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 --- .../contrib/admin/templates/admin/edit_inline_tabular.html | 5 +++-- 1 file 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 }}

{{ bound_inline.verbose_name_plural|capfirst|escape }}

- {% if bound_inline.formset.deletable %}{% endif %} + {% if bound_inline.formset.deletable %}{% endif %} {% for field in bound_inline.fields %} {% if not field.is_hidden %} @@ -90,4 +91,4 @@ {% endfor %} {% endfor %} -{% endcomment %} \ No newline at end of file +{% endcomment %}
Delete?{% trans "Delete" %}?{{ field.label|capfirst|escape }}