2008-03-05 Jerome Rapinat <romjerome@yahoo.fr>

* src/plugins/DateParserDisplayTest.py: allow to translate QuestionDialog 



svn: r10195
This commit is contained in:
Jérôme Rapinat 2008-03-05 14:00:38 +00:00
parent a32cd288f0
commit 81974e12c2
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2008-03-05 Jerome Rapinat <romjerome@yahoo.fr>
* src/plugins/DateParserDisplayTest.py: allow to translate QuestionDialog
2008-03-05 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/docgen/TextBufDoc.py: fixed translations of Quick View
* src/plugins/References.py: fixed translations of ref types

View File

@ -59,7 +59,7 @@ class DateParserDisplayTest(Tool.Tool):
Tool.Tool.__init__(self, dbstate, options_class, name)
if uistate:
# Running with gui -> Show message
QuestionDialog("Start date test?","This test will create many persons and events in the current database. Do you really want to run this test?","Run test",self.run_tool)
QuestionDialog(_("Start date test?"),_("This test will create many persons and events in the current database. Do you really want to run this test?"),_("Run test"),self.run_tool)
else:
self.run_tool()