Changeset 5864
- Timestamp:
- 08/11/07 22:27:57 (1 year ago)
- Files:
-
- django/trunk/django/core/validators.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/core/validators.py
r5811 r5864 270 270 if words_seen: 271 271 from django.utils.text import get_text_list 272 plural = len(words_seen) > 1272 plural = len(words_seen) 273 273 raise ValidationError, ungettext("Watch your mouth! The word %s is not allowed here.", 274 274 "Watch your mouth! The words %s are not allowed here.", plural) % \
