Ticket #14844: 14844-1.2.X.diff

File 14844-1.2.X.diff, 1009 bytes (added by Ramiro Morales, 14 years ago)

Patch as suggested by Claude, for 1.2.X

  • django/contrib/admin/templates/admin/pagination.html

    diff --git a/django/contrib/admin/templates/admin/pagination.html b/django/contrib/admin/templates/admin/pagination.html
    a b  
    66    {% paginator_number cl i %}
    77{% endfor %}
    88{% endif %}
    9 {% blocktrans with cl.opts.verbose_name as verbose_name and cl.opts.verbose_name_plural as verbose_name_plural count cl.result_count as count %}{{ count }} {{ verbose_name }}{% plural %}{{ count }} {{ verbose_name_plural }}{% endblocktrans %}
     9{% blocktrans with cl.opts.verbose_name as verbose_name count cl.result_count as count %}{{ count }} {{ verbose_name }} object{% plural %}{{ count }} {{ verbose_name }} objects{% endblocktrans %}
    1010{% if show_all_url %}&nbsp;&nbsp;<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %}
    1111{% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>{% endif %}
    1212</p>
Back to Top