contrib.comments uses wrong pluralization of profanity message
|Reported by:||poirier||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
contrib.comments says "Watch your mouth! The word %s is not allowed here." for multiple profanities and "Watch your mouth! The words %s are not allowed here." for single ones.
This is because ungettext is being used incorrectly (just like case #5011 from four years ago) - the third arg should be the number of items, not a boolean.
Change History (6)
Changed 3 years ago by poirier
comment:1 Changed 3 years ago by jezdez
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Ready for checkin