From 91ecaf80b3959bc902c713bd8556757b296a2bd0 Mon Sep 17 00:00:00 2001 From: etienne Date: Wed, 20 Aug 2008 00:01:23 +0000 Subject: Internationalization of the application --- templates/vote.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates/vote.html') diff --git a/templates/vote.html b/templates/vote.html index 1b862c4..0174a18 100644 --- a/templates/vote.html +++ b/templates/vote.html @@ -1,3 +1,4 @@ +{% load i18n %} {% extends "base.html" %} {% block content %} @@ -17,7 +18,7 @@ {% for vote in voter.votes %}{%endfor%} - {%else%}Edit + {%else%}{% trans "Edit" %} {{voter.name}} {% for vote in voter.votes %}{% ifequal vote.value 1%}Yes{%else%}No{%endifequal%} {%endfor%} @@ -31,12 +32,12 @@ {%endif%} - Sum + {% trans "Sum" %} {% for sum in choices_sum %}{{sum}} {% endfor %} - + {% endblock %} -- cgit v1.2.3