#29853: Exported jsi18n ngettext() function doesn't check existence of plural
translation before attempting to access it
-------------------------------------+-------------------------------------
Reporter: Mohamed Moustafa | Owner: Serhiy
| Martynenko
Type: Bug | Status: assigned
Component: | Version: 2.1
Internationalization |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Ramiro Morales):
A question we need to ask the reported is how a translation literal which
is malformed i.e. with quantity of plural forms not obeying what the
locale's plural forms formula has reached the translation catalog in the
first place.
AFAIC the compilemessages/msgfmt stage should have rejected the literal
when trying to convert the .po file to .mo.
--
Ticket URL: <https://code.djangoproject.com/ticket/29853#comment:8>
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/070.d3c2e1af39e39e44e983fb487bce5f96%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.