From 5dd68fa74ae6f3f401649c73e0f450b35d291d9c Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Tue, 26 Aug 2008 18:15:19 +0000 Subject: [PATCH] Marked a couple of unmarked strings in edit_inline templates and corrected a marked string. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8587 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templates/admin/edit_inline/stacked.html | 2 +- django/contrib/admin/templates/admin/edit_inline/tabular.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/admin/templates/admin/edit_inline/stacked.html b/django/contrib/admin/templates/admin/edit_inline/stacked.html index cd0430c01a..ecc3dca8ac 100644 --- a/django/contrib/admin/templates/admin/edit_inline/stacked.html +++ b/django/contrib/admin/templates/admin/edit_inline/stacked.html @@ -10,7 +10,7 @@ {% if inline_admin_formset.formset.can_delete and inline_admin_form.original %}{{ inline_admin_form.deletion_field.field }} {{ inline_admin_form.deletion_field.label_tag }}{% endif %} {% if inline_admin_form.show_url %} -

View on site

+

{% trans "View on site" %}

{% endif %} {% for fieldset in inline_admin_form %} diff --git a/django/contrib/admin/templates/admin/edit_inline/tabular.html b/django/contrib/admin/templates/admin/edit_inline/tabular.html index 9ad93146ba..d77d63c676 100644 --- a/django/contrib/admin/templates/admin/edit_inline/tabular.html +++ b/django/contrib/admin/templates/admin/edit_inline/tabular.html @@ -12,7 +12,7 @@ {{ field.label|capfirst|escape }} {% endif %} {% endfor %} - {% if inline_admin_formset.formset.can_delete %}{% trans "Delete" %}?{% endif %} + {% if inline_admin_formset.formset.can_delete %}{% trans "Delete?" %}{% endif %} {% for inline_admin_form in inline_admin_formset %} @@ -22,7 +22,7 @@ {% if inline_admin_form.original or inline_admin_form.show_url %}

{% if inline_admin_form.original %} {{ inline_admin_form.original }}{% endif %} - {% if inline_admin_form.show_url %}View on site{% endif %} + {% if inline_admin_form.show_url %}{% trans "View on site" %}{% endif %}

{% endif %} {{ inline_admin_form.pk_field.field }} {% spaceless %}