add explanation text to captcha widget (#902)

This commit is contained in:
Frédéric Péters 2011-11-16 22:24:57 +01:00
parent c7e8e68c1a
commit 384c1ca838
2 changed files with 21 additions and 13 deletions

View File

@ -69,7 +69,7 @@ class IEffectiveContact(interface.Interface):
email = schema.TextLine(title=_(u'Email'), required=True)
phone = schema.TextLine(title=_(u'Phone'), required=False)
message = schema.Text(title=_(u'Message'), required=True)
captcha = schema.TextLine(title=u'Captcha', required=False)
captcha = schema.TextLine(title=_(u'Please type the different chars'), required=False)
class EffectiveContact(object):
implements(IEffectiveContact)
@ -163,7 +163,7 @@ class IEffectiveDeputyContact(interface.Interface):
email = schema.TextLine(title=_(u'Email'), required=True)
phone = schema.TextLine(title=_(u'Phone'), required=False)
message = schema.Text(title=_(u'Message'), required=True)
captcha = schema.TextLine(title=u'Captcha', required=False)
captcha = schema.TextLine(title=_(u'Please type the different chars'), required=False)
class EffectiveDeputyContact(object):
implements(IEffectiveDeputyContact)

View File

@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: tabellio.contact 1.0\n"
"POT-Creation-Date: 2011-10-07 21:03+0000\n"
"POT-Creation-Date: 2011-11-16 21:24+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: Frederic Peters <fpeters@entrouvert.com>\n"
"Language-Team: French <@>\n"
@ -19,7 +19,7 @@ msgstr ""
msgid "A contact form"
msgstr "Un formulaire de contact"
#: ./form.py:29
#: ./form.py:32
msgid "Available Subjects"
msgstr "Sujets disponibles"
@ -27,39 +27,47 @@ msgstr "Sujets disponibles"
msgid "Contact Form"
msgstr "Formulaire de contact"
#: ./form.py:28
#: ./form.py:159
msgid "Deputy"
msgstr "Député"
#: ./form.py:31
msgid "Description"
msgstr "Description"
#: ./form.py:58
#: ./form.py:69
msgid "Email"
msgstr "Courriel"
#: ./form.py:60
#: ./form.py:71
msgid "Message"
msgstr "Message"
#: ./form.py:57
#: ./form.py:68
msgid "Name"
msgstr "Nom"
#: ./form.py:59
#: ./form.py:70
msgid "Phone"
msgstr "Téléphone"
#: ./form.py:79
#: ./form.py:72
msgid "Please type the different chars"
msgstr "Veuillez recopier les caractères affichés"
#: ./form.py:94
msgid "Send"
msgstr "Envoyer"
#: ./form.py:55
#: ./form.py:66
msgid "Subject"
msgstr "Sujet"
#: ./form.py:27
#: ./form.py:30
msgid "Title"
msgstr "Titre"
#: ./form.py:88
#: ./form.py:104
msgid "Your message has been sent successfully."
msgstr "Votre message a été envoyé."