validators hasNoProfanities improperly uses ungettext
|Reported by:||Owned by:||Adrian Holovaty|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.