#16403: contrib.comments uses wrong pluralization of profanity message
---------------------+----------------------------------
 Reporter:  poirier  |          Owner:  nobody
     Type:  Bug      |         Status:  new
Milestone:           |      Component:  contrib.comments
  Version:  1.3      |       Severity:  Normal
 Keywords:           |   Triage Stage:  Unreviewed
Has patch:  1        |  Easy pickings:  1
    UI/UX:  0        |
---------------------+----------------------------------
 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.

 Patch attached.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16403>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to