translate search button

This commit is contained in:
Frédéric Péters 2011-10-21 20:40:31 +02:00
parent 40984fa227
commit f9c9e8b903
2 changed files with 35 additions and 19 deletions

View File

@ -57,7 +57,7 @@ class DocumentSearchForm(form.Form):
ignoreContext = True
template = ViewPageTemplateFile('form_templates/view_effectivesearch.pt')
@button.buttonAndHandler(u'Search')
@button.buttonAndHandler(_(u'Search'))
def handleApply(self, action):
data, errors = self.extractData()
if not errors and False:
@ -88,7 +88,7 @@ class DossierSearchForm(form.Form):
ignoreContext = True
template = ViewPageTemplateFile('form_templates/view_dossier_search.pt')
@button.buttonAndHandler(u'Search')
@button.buttonAndHandler(_(u'Search'))
def handleApply(self, action):
data, errors = self.extractData()
if not errors and False:
@ -119,7 +119,7 @@ class QuestionSearchForm(form.Form):
ignoreContext = True
template = ViewPageTemplateFile('form_templates/view_question_search.pt')
@button.buttonAndHandler(u'Search')
@button.buttonAndHandler(_(u'Search'))
def handleApply(self, action):
data, errors = self.extractData()
if not errors and False:
@ -154,7 +154,7 @@ class DocumentPfbSearchForm(form.Form):
ignoreContext = True
template = ViewPageTemplateFile('form_templates/view_pfbdocsearch.pt')
@button.buttonAndHandler(u'Search')
@button.buttonAndHandler(_(u'Search'))
def handleApply(self, action):
data, errors = self.extractData()
if not errors and False:

View File

@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: tabellio.searchform 1.0\n"
"POT-Creation-Date: 2011-10-21 09:29+0000\n"
"POT-Creation-Date: 2011-10-21 18:23+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: Frederic Peters <fpeters@entrouvert.com>\n"
"Language-Team: French <@>\n"
@ -15,60 +15,76 @@ msgstr ""
"Domain: tabellio.searchform\n"
"X-Is-Fallback-For: fr-be fr-ca fr-lu fr-mc fr-ch fr-fr\n"
#: ./form.py:30
#: ./form.py:46
msgid "Author"
msgstr "Auteur"
#: ./form.py:29
#: ./form.py:45
msgid "Authors"
msgstr "Auteurs"
#: ./form.py:22
#: ./form.py:38
msgid "Document Number"
msgstr "Numéro de document"
#: ./form.py:55
#: ./form.py:71
msgid "Dossier Number"
msgstr "Numéro de dossier"
#: ./form.py:36
#: ./form.py:52
msgid "End"
msgstr "Fin"
#: ./form.py:25
#: ./form.py:41
msgid "Ipsum"
msgstr ""
#: ./form.py:25
#: ./form.py:41
msgid "Lorem"
msgstr ""
#: ./form.py:86
#: ./form.py:149
msgid "Number"
msgstr "Numéro"
#: ./form.py:102
msgid "Question Number"
msgstr "Numéro de question"
#: ./form.py:35
#: ./form.py:60
msgid "Search"
msgstr "Cherche"
#: ./form.py:149
msgid "Session"
msgstr "Session"
#: ./form.py:148
msgid "Sort By"
msgstr "Trier par"
#: ./form.py:51
msgid "Start"
msgstr "Début"
#: ./form.py:23
#: ./form.py:39
msgid "Suite Number"
msgstr "Numéro de suite"
#: ./form.py:28
#: ./form.py:44
#: ./simple.py:17
msgid "Text"
msgstr "Texte"
#: ./form.py:27
#: ./form.py:43
msgid "Title"
msgstr "Intitulé"
#: ./form.py:24
#: ./form.py:40
msgid "Type"
msgstr "Type"
#: ./form.py:49
#: ./form.py:65
#: ./simple.py:66
msgid "Your search has been completed!"
msgstr "Votre recherche est terminée !"