]> git.openstreetmap.org Git - osqa.git/commitdiff
Fix in untranslateable string.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 8 May 2010 17:54:44 +0000 (17:54 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 8 May 2010 17:54:44 +0000 (17:54 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@177 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/actions/user.py

index dcbb27ba39d8ba27e63e91022d2a55c5517f28c0..7018a5d2db41e76542113797e37e5730ec224284 100644 (file)
@@ -27,9 +27,9 @@ class AwardAction(ActionProxy):
         award.save()\r
         award.badge.awarded_count = F('awarded_count') + 1\r
         award.badge.save()\r
-        self.user.message_set.create(message=_("Congratulations, you have received a badge '%(badge_name)s'. " \\r
-                + u"Check out <a href=\"%(profile_url)s\">your profile</a>.") % dict(badge_name=award.badge.name,\r
-                                                                                    profile_url=self.user.get_profile_url()))\r
+        self.user.message_set.create(message=_("""Congratulations, you have received a badge '%(badge_name)s'\r
+                                    Check out <a href=\"%(profile_url)s\">your profile</a>.""") %\r
+                                    dict(badge_name=award.badge.name, profile_url=self.user.get_profile_url()))\r
 \r
     def cancel_action(self):\r
         award = self.award\r