Commit d12a645b authored by Christophe Siraut's avatar Christophe Siraut

Work on translations.

parent 78c15ad1
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-05-08 18:44+0200\n"
"POT-Creation-Date: 2013-05-10 10:12+0200\n"
"PO-Revision-Date: 2010-10-24 22:27+0100\n"
"Last-Translator: Christophe Siraut <chris@tobald.eu.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -553,13 +553,13 @@ msgstr ""
msgid "Alltime"
msgstr ""
#: sondage/forms.py:9
#: sondage/forms.py:6
msgid "title"
msgstr "titre"
#: sondage/forms.py:9
#: sondage/forms.py:7
msgid "description"
msgstr ""
msgstr "description"
#: sondage/models.py:13
msgid "Title"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-05-08 18:44+0200\n"
"POT-Creation-Date: 2013-05-10 10:12+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -555,12 +555,12 @@ msgstr ""
msgid "Alltime"
msgstr ""
#: sondage/forms.py:9
#: sondage/forms.py:6
#, fuzzy
msgid "title"
msgstr "Titel"
#: sondage/forms.py:9
#: sondage/forms.py:7
msgid "description"
msgstr ""
......
from django import forms
from models import Poll, Choice, Bulletin, Vote
from django.utils.translation import ugettext_lazy as _
class PollForm(forms.ModelForm):
description = forms.CharField(widget=forms.Textarea)
title = forms.CharField(label=_('title'))
description = forms.CharField(widget=forms.Textarea, label=_('description'))
class Meta:
model = Poll
fields = ('title','description')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment