#24401: ungettext_lazy only accepts int as number param
--------------------------------------+--------------------
Reporter: pegler | Owner: nobody
Type: Uncategorized | Status: new
Component: Internationalization | Version: 1.6
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
The behavior of ungettext_lazy was changed in 1.6 to allow passing in the
name of a format variable instead of the value to be used for determining
if the singular or plural string should be used. In 1.5 this function
accepted a long as the number parameter but in 1.6 it errors out with the
confusing error message "Your dictionary lacks key '12'. Please provide
it, because it is required to determine whether string is singular or
plural."
--
Ticket URL: <https://code.djangoproject.com/ticket/24401>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.3f564f3c08ad898039dd12d3cb77e100%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.