From 4268952a62ff97bd93672a38311228ca2abacb58 Mon Sep 17 00:00:00 2001 From: jordan Date: Sat, 9 Apr 2011 16:55:31 +0000 Subject: [PATCH] changing the awarded tool user message, it used to cause trouble when running the makemessages command, passing the args using a dictionary git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@949 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/views/commands.py b/forum/views/commands.py index 4aa96f8..3849ca3 100644 --- a/forum/views/commands.py +++ b/forum/views/commands.py @@ -588,4 +588,4 @@ def award_points(request, user_id, answer_id): # We take points from the awarding user AwardPointsAction(user=request.user, node=answer, extra=extra).save(data=dict(value=points, affected=awarded_user)) - return { 'message' : _("You have awarded %s with %d points") % (awarded_user, points) } + return { 'message' : _("You have awarded %(awarded_user)s with %(points)d points") % {'awarded_user' : awarded_user, 'points' : points} } -- 2.39.5