Django

Code

Changeset 3097

Show
Ignore:
Timestamp:
06/06/06 22:17:58 (2 years ago)
Author:
adrian
Message:

Fixed #2100 -- Made some remaining parts of the admin changelist translatable. Thanks, ramiro

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/admin/templates/admin/filters.html

    r1443 r3097  
    11{% load admin_list %} 
     2{% load i18n %} 
    23{% if cl.has_filters %}<div id="changelist-filter"> 
    3 <h2>Filter</h2> 
     4<h2>{% trans 'Filter' %}</h2> 
    45{% for spec in cl.filter_specs %} 
    56   {% filter cl spec %} 
  • django/trunk/django/contrib/admin/templates/admin/pagination.html

    r1443 r3097  
    11{% load admin_list %} 
     2{% load i18n %} 
    23<p class="paginator"> 
    34{% if pagination_required %} 
     
    78{% endif %} 
    89{{ cl.result_count }} {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %} 
    9 {% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">Show all</a>{% endif %} 
     10{% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %} 
    1011</p> 
  • django/trunk/django/contrib/admin/templates/admin/search_form.html

    r2809 r3097  
    88<input type="submit" value="{% trans 'Go' %}" /> 
    99{% if show_result_count %} 
    10     <span class="small quiet">{{ cl.result_count }} result{{ cl.result_count|pluralize }} (<a href="?">{{ cl.full_result_count }} total</a>)</span> 
     10    <span class="small quiet">{% blocktrans count cl.result_count as counter %}1 result{% plural %}{{ counter }} results{% endblocktrans %} (<a href="?">{% blocktrans with cl.full_result_count as full_result_count %}{{ full_result_count }} total{% endblocktrans %}</a>)</span> 
    1111{% endif %} 
    1212{% for pair in cl.params.items %}