Opened 18 years ago
Closed 18 years ago
#5011 closed (fixed)
validators hasNoProfanities improperly uses ungettext
Description ¶
No matter how many words match the profanity list, it always returns the plural version of the error message. This is because ungettext expects a number rather than a boolean, which is what is currently being used.
Attached is 1-line diff that will fix this.
Change History (3)
by , 18 years ago
Attachment: | validators_patch.txt added |
---|
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
1-line diff