Commit 9fec557c authored by Matthieu Gautier's avatar Matthieu Gautier

Change the label of few form fields.

parent a8723120
......@@ -36,12 +36,12 @@ class ContentForm(forms.ModelForm):
class MessageForm(forms.Form):
# Translators: Do not translate this, the translation is in Ideascube
author = forms.CharField(label=_("Name"), max_length=100)
author = forms.CharField(label=_("First name and last name"), max_length=100)
# Translators: Do not translate this, the translation is in Ideascube
birth_year = forms.IntegerField(label=_("Birth year"), required=True,
min_value=current_year-150, max_value=current_year,
localize=True)
address = forms.CharField(label=_("Address"), widget=forms.Textarea,
address = forms.CharField(label=_("Locality"), widget=forms.Textarea,
required=False)
phone = forms.CharField(label=_("Phone number"), required=False)
text = forms.CharField(label=_("Text"), widget=RichTextEntry,
......@@ -58,7 +58,7 @@ class MessageForm(forms.Form):
))
kind = forms.ChoiceField(label=_("Object"),
choices=[('advertisement',
_('I want to publish an ad')),
_('I want to publish a communiqué')),
('message',
_('I want to leave a message'))])
......
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