#34281 closed Bug (duplicate)

select filter javascript uses gettext when it should use ngettext

Reported by: Florian Apolloner Owned by: nobody
Component: Uncategorized Version: 4.0
Severity: Release blocker Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

I just stumbled upon this during updating translations:

https://github.com/django/django/blob/e1a093f8cba66574ce516a7510ded5196cdc6416/django/contrib/admin/static/admin/js/SelectFilter2.js#L210

I think this should use ngettext in case the count is 1. I am marking this as a release blocker since it was introduced in 4.2

Change History (1)

comment:1 by Florian Apolloner, 22 months ago

Resolution: duplicate
Status: newclosed

Dupe of #34278

Note: See TracTickets for help on using tickets.
Back to Top