Django

Code

Changeset 3936

Show
Ignore:
Timestamp:
10/25/06 16:56:17 (2 years ago)
Author:
jacob
Message:

Fixed ngettext bug in comments post view

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/comments/views/comments.py

    r3929 r3936  
    110110        if self.user_cache.comment_set.count() <= settings.COMMENTS_FIRST_FEW: 
    111111            message = ngettext('This comment was posted by a user who has posted fewer than %(count)s comment:\n\n%(text)s', 
    112                 'This comment was posted by a user who has posted fewer than %(count)s comments:\n\n%(text)s') % \ 
     112                'This comment was posted by a user who has posted fewer than %(count)s comments:\n\n%(text)s', settings.COMMENTS_FIRST_FEW) % \ 
    113113                {'count': settings.COMMENTS_FIRST_FEW, 'text': c.get_as_text()} 
    114114            mail_managers("Comment posted by rookie user", message)