Changeset 9116
- Timestamp:
- 10/05/08 00:05:32 (3 months ago)
- Files:
-
- django/trunk/django/contrib/comments/forms.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/comments/forms.py
r8841 r9116 12 12 from django.utils.hashcompat import sha_constructor 13 13 from django.utils.text import get_text_list 14 from django.utils.translation import ngettext 15 from django.utils.translation import ugettext_lazy as _ 14 from django.utils.translation import ungettext, ugettext_lazy as _ 16 15 17 16 COMMENT_MAX_LENGTH = getattr(settings,'COMMENT_MAX_LENGTH', 3000) … … 123 122 if bad_words: 124 123 plural = len(bad_words) > 1 125 raise forms.ValidationError( ngettext(124 raise forms.ValidationError(ungettext( 126 125 "Watch your mouth! The word %s is not allowed here.", 127 126 "Watch your mouth! The words %s are not allowed here.", plural) % \
