diff options
| author | Georg Bauer <gb@hugo.westfalen.de> | 2005-11-28 10:29:41 +0000 |
|---|---|---|
| committer | Georg Bauer <gb@hugo.westfalen.de> | 2005-11-28 10:29:41 +0000 |
| commit | bcc02c982f8cf0a49e3927c4adda2aaa1072bc6a (patch) | |
| tree | d3b0c2710d315ff39a82f28e6198c19db057eeec /django/contrib/admin/templates | |
| parent | e85b071e47a8b25d47d7dfbb3b006030a1d09d87 (diff) | |
added a new translation tag for the search "go" button
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/templates')
| -rw-r--r-- | django/contrib/admin/templates/admin/search_form.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/admin/search_form.html b/django/contrib/admin/templates/admin/search_form.html index e398028fe6..5e868a06b0 100644 --- a/django/contrib/admin/templates/admin/search_form.html +++ b/django/contrib/admin/templates/admin/search_form.html @@ -1,9 +1,10 @@ {% load adminmedia %} +{% load i18n %} {% if cl.lookup_opts.admin.search_fields %} <div id="toolbar"><form id="changelist-search" action="" method="get"> <label><img src="{% admin_media_prefix %}img/admin/icon_searchbox.png" /></label> <input type="text" size="40" name="{{ search_var }}" value="{{ cl.query|escape }}" id="searchbar" /> -<input type="submit" value="Go" /> +<input type="submit" value="{% trans 'Go' %}" /> {% if show_result_count %} <span class="small quiet">{{ cl.result_count }} result{{ cl.result_count|pluralize }} (<a href="?">{{ cl.full_result_count }} total</a>)</span> {% endif %} |
