From 19a817e69c4518215a96e0456bbea06aa4e03e63 Mon Sep 17 00:00:00 2001 From: hernani Date: Sat, 8 May 2010 17:54:44 +0000 Subject: [PATCH 1/1] Fix in untranslateable string. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@177 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/actions/user.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forum/actions/user.py b/forum/actions/user.py index dcbb27b..7018a5d 100644 --- a/forum/actions/user.py +++ b/forum/actions/user.py @@ -27,9 +27,9 @@ class AwardAction(ActionProxy): award.save() award.badge.awarded_count = F('awarded_count') + 1 award.badge.save() - self.user.message_set.create(message=_("Congratulations, you have received a badge '%(badge_name)s'. " \ - + u"Check out your profile.") % dict(badge_name=award.badge.name, - profile_url=self.user.get_profile_url())) + self.user.message_set.create(message=_("""Congratulations, you have received a badge '%(badge_name)s' + Check out your profile.""") % + dict(badge_name=award.badge.name, profile_url=self.user.get_profile_url())) def cancel_action(self): award = self.award -- 2.39.5