From 3720a12a2adcb3f1283ea34c53f7b1e5094dc871 Mon Sep 17 00:00:00 2001 From: James Bennett Date: Fri, 27 Oct 2006 19:19:28 +0000 Subject: [PATCH] 0.91-bugfixes: corrected version of previous (COMMENTS_FIRST_FEW is imported directly) git-svn-id: http://code.djangoproject.com/svn/django/branches/0.91-bugfixes@3943 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/comments/views/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/comments/views/comments.py b/django/contrib/comments/views/comments.py index 5c19289d43b7a..d6055a282ce62 100644 --- a/django/contrib/comments/views/comments.py +++ b/django/contrib/comments/views/comments.py @@ -107,7 +107,7 @@ def save(self, new_data): # send the comment to the managers. if self.user_cache.get_comments_comment_count() <= COMMENTS_FIRST_FEW: message = ngettext('This comment was posted by a user who has posted fewer than %(count)s comment:\n\n%(text)s', - 'This comment was posted by a user who has posted fewer than %(count)s comments:\n\n%(text)s', settings.COMMENTS_FIRST_FEW) % \ + 'This comment was posted by a user who has posted fewer than %(count)s comments:\n\n%(text)s', COMMENTS_FIRST_FEW) % \ {'count': COMMENTS_FIRST_FEW, 'text': c.get_as_text()} mail_managers("Comment posted by rookie user", message) if COMMENTS_SKETCHY_USERS_GROUP and COMMENTS_SKETCHY_USERS_GROUP in [g.id for g in self.user_cache.get_group_list()]: