summaryrefslogtreecommitdiff
path: root/polls
diff options
context:
space:
mode:
authoretienne2008-12-09 10:07:30 +0000
committeretienne2008-12-09 10:07:30 +0000
commit029bd8adff6e2a12b1775d63a21df43a7dda1343 (patch)
tree21053ebff94ea2cdc761e7cb93b5d5134a80e23b /polls
parent660c13c65bdd8a02d8deff6787005fb595f7d66a (diff)
French translation
Diffstat (limited to 'polls')
-rw-r--r--polls/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/polls/views.py b/polls/views.py
index f42f854..b7103a8 100644
--- a/polls/views.py
+++ b/polls/views.py
@@ -240,9 +240,9 @@ public=public)
new_limit = int(request.POST[key])
sum = choice.getSum()
if new_limit < sum:
- response_dct['error'] = _("You cannot lower %s\
-'s limit to this number : there is currently %d votes for this choice.") % (
- choice.name, sum)
+ response_dct['error'] = _("You cannot lower \
+%(name)s's limit to this number : there is currently %(sum)d votes for this \
+choice.") % {'name':choice.name, 'sum':sum}
else:
choice.limit = new_limit
choice.save()