Changeset 9123
- Timestamp:
- 10/05/08 00:16:38 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/releases/1.0.X/django/contrib/comments/forms.py
r8841 r9123 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) % \
