[Django] #33645: Admin pagination always uses English pluralization rules

4 views
Skip to first unread message

Django

unread,
Apr 14, 2022, 10:05:26 AM4/14/22
to django-...@googlegroups.com
#33645: Admin pagination always uses English pluralization rules
-----------------------------------------+------------------------
Reporter: sin-ack | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
This line in the admin pagination template uses the model's `verbose_name`
and `verbose_name_plural` to display how many objects are currently being
displayed:
https://github.com/django/django/blob/deedf5bbc347e47b3be6e15783fc43a9c0a69256/django/contrib/admin/templates/admin/pagination.html#L9

However, it does not take pluralization forms in other languages into
consideration. `{% blocktranslate %}` with `{% plural %}` should be used
here to take the pluralization into account.

--
Ticket URL: <https://code.djangoproject.com/ticket/33645>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 14, 2022, 1:05:26 PM4/14/22
to django-...@googlegroups.com
#33645: Admin pagination always uses English pluralization rules
-------------------------------+--------------------------------------
Reporter: sin-ack | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 4.0
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Claude Paroz):

* status: new => closed
* resolution: => duplicate


Comment:

Thanks for the report, this is a long-standing issue with no simple
solution. Duplicate of #11688.

--
Ticket URL: <https://code.djangoproject.com/ticket/33645#comment:1>

Reply all
Reply to author
Forward
0 new messages