#34281: select filter javascript uses gettext when it should use ngettext
---------------------------------------------+------------------------
Reporter: Florian Apolloner | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 4.0
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
---------------------------------------------+------------------------
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
--
Ticket URL: <https://code.djangoproject.com/ticket/34281>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070185da575456-cd592928-2f88-484e-8c0c-d3e8870a6bc3-000000%40eu-central-1.amazonses.com.