Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed ngettext bug in comments post view

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ed27ff9aa99ab4f55311a0fc4417665c53eac2aa 1 parent 94386f6
Jacob Kaplan-Moss authored October 25, 2006
2  django/contrib/comments/views/comments.py
@@ -109,7 +109,7 @@ def save(self, new_data):
109 109
         # send the comment to the managers.
110 110
         if self.user_cache.comment_set.count() <= settings.COMMENTS_FIRST_FEW:
111 111
             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) % \
113 113
                 {'count': settings.COMMENTS_FIRST_FEW, 'text': c.get_as_text()}
114 114
             mail_managers("Comment posted by rookie user", message)
115 115
         if settings.COMMENTS_SKETCHY_USERS_GROUP and settings.COMMENTS_SKETCHY_USERS_GROUP in [g.id for g in self.user_cache.get_group_list()]:

0 notes on commit ed27ff9

Please sign in to comment.
Something went wrong with that request. Please try again.