Opened 12 years ago
Last modified 12 years ago
#20455 closed Bug
Don't use plural forms without specific numbers — at Initial Version
Reported by: | Axel Hecht | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Axel Hecht, frog32@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There are a handful of languages which use the same grammatical form for 1 and, say, 11.
If you're using gettext plurals for a message that doesn't specify the number, you get
"Fix the following error." when there are actually 11 errors down the line.
Example would be https://github.com/django/django/blob/master/django/contrib/admin/locale/en/LC_MESSAGES/django.po#L427
#: templates/admin/change_form.html:44 templates/admin/change_list.html:67
#: templates/admin/login.html:17
#: templates/admin/auth/user/change_password.html:27
#: templates/registration/password_change_form.html:20
msgid "Please correct the error below."
msgid_plural "Please correct the errors below."
msgstr[0] ""
msgstr[1] ""