diff --git a/django/contrib/comments/forms.py b/django/contrib/comments/forms.py
index 05c4afe..5bc390f 100644
|
a
|
b
|
class CommentDetailsForm(CommentSecurityForm):
|
| 176 | 176 | raise forms.ValidationError(ungettext( |
| 177 | 177 | "Watch your mouth! The word %s is not allowed here.", |
| 178 | 178 | "Watch your mouth! The words %s are not allowed here.", len(bad_words)) |
| 179 | | % get_text_list(['"%s%s%s"' % (i[0], '-'*(len(i)-2), i[-1]) for i in bad_words], 'and')) |
| | 179 | % get_text_list(['"%s%s%s"' % (i[0], '-'*(len(i)-2), i[-1]) for i in bad_words], _('and'))) |
| 180 | 180 | return comment |
| 181 | 181 | |
| 182 | 182 | class CommentForm(CommentDetailsForm): |