diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-12-17 21:27:54 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-12-17 21:27:54 +0000 |
| commit | 787dea30c1f2081e6f831b4b33036644fa93d2a6 (patch) | |
| tree | def155286f34931996ae62e22a78464d80bea31f /django/contrib/admin/templates | |
| parent | 3235f0298ae1c92f625c76922e66b9a0ad5aa3b1 (diff) | |
added missing translations to the file widget
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/templates')
| -rw-r--r-- | django/contrib/admin/templates/widget/file.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/admin/templates/widget/file.html b/django/contrib/admin/templates/widget/file.html index bacc30c521..e4a0756211 100644 --- a/django/contrib/admin/templates/widget/file.html +++ b/django/contrib/admin/templates/widget/file.html @@ -1,4 +1,4 @@ -{% load admin_modify %}{% if bound_field.original_value %} -Currently: <a href="{{ bound_field.original_url }}" > {{ bound_field.original_value }} </a><br /> -Change: {% output_all bound_field.form_fields %} +{% load admin_modify i18n %}{% if bound_field.original_value %} +{% trans "Currently:" %} <a href="{{ bound_field.original_url }}" > {{ bound_field.original_value }} </a><br /> +{% trans "Change:" %}{% output_all bound_field.form_fields %} {% else %} {% output_all bound_field.form_fields %} {% endif %} |
