translate Send button
This commit is contained in:
parent
bd60e4c5b5
commit
f375f4c6d6
|
@ -76,7 +76,7 @@ class EffectiveContactForm(form.Form):
|
|||
fields['captcha'].widgetFactory = CaptchaFieldWidget
|
||||
template = ViewPageTemplateFile('form_templates/view_effectivecontact.pt')
|
||||
|
||||
@button.buttonAndHandler(u'Send')
|
||||
@button.buttonAndHandler(_(u'Send'))
|
||||
def handleApply(self, action):
|
||||
data, errors = self.extractData()
|
||||
if not errors and data.has_key('captcha'):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: tabellio.contact 1.0\n"
|
||||
"POT-Creation-Date: 2011-10-07 20:35+0000\n"
|
||||
"POT-Creation-Date: 2011-10-07 21:03+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
|
||||
"Last-Translator: Frederic Peters <fpeters@entrouvert.com>\n"
|
||||
"Language-Team: French <@>\n"
|
||||
|
@ -47,6 +47,10 @@ msgstr "Nom"
|
|||
msgid "Phone"
|
||||
msgstr "Téléphone"
|
||||
|
||||
#: ./form.py:79
|
||||
msgid "Send"
|
||||
msgstr "Envoyer"
|
||||
|
||||
#: ./form.py:55
|
||||
msgid "Subject"
|
||||
msgstr "Sujet"
|
||||
|
|
Reference in New Issue