Help text on abstract
This commit is contained in:
parent
e048bcf4d9
commit
118869842c
Binary file not shown.
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-08-08 21:54+0000\n"
|
||||
"POT-Creation-Date: 2016-08-08 22:21+0000\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"
|
||||
|
@ -243,6 +243,14 @@ msgstr "S’inscrire"
|
|||
msgid "Powered by"
|
||||
msgstr "Propulsé par"
|
||||
|
||||
#: proposals/forms.py:22
|
||||
msgid "Should be less than 255 characters"
|
||||
msgstr "Text court, moins de 255 caractères"
|
||||
|
||||
#: proposals/forms.py:23
|
||||
msgid "If you want to say some precisions to organizers."
|
||||
msgstr "Si vous souhaitez apporter des précisions à l'équipe d'organisation."
|
||||
|
||||
#: proposals/models.py:31
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from django.forms import CheckboxSelectMultiple, ModelForm
|
||||
from django.forms.models import modelform_factory
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from django_select2.forms import Select2TagWidget
|
||||
|
||||
|
@ -17,6 +18,10 @@ class TalkForm(ModelForm):
|
|||
model = Talk
|
||||
fields = ['title', 'abstract', 'description', 'topics', 'notes', 'event', 'speakers']
|
||||
widgets = {'topics': CheckboxSelectMultiple(), 'speakers': Select2TagWidget()}
|
||||
help_texts = {
|
||||
'abstract': _('Should be less than 255 characters'),
|
||||
'notes': _('If you want to say some precisions to organizers.'),
|
||||
}
|
||||
|
||||
|
||||
class TopicCreateForm(ModelForm):
|
||||
|
|
Loading…
Reference in New Issue