From 81974e12c2c3b2d5f03106db9aa0c328e5d06a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Wed, 5 Mar 2008 14:00:38 +0000 Subject: [PATCH] 2008-03-05 Jerome Rapinat * src/plugins/DateParserDisplayTest.py: allow to translate QuestionDialog svn: r10195 --- ChangeLog | 3 +++ src/plugins/DateParserDisplayTest.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f0dd36a7a..3fefcb839 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2008-03-05 Jerome Rapinat + * src/plugins/DateParserDisplayTest.py: allow to translate QuestionDialog + 2008-03-05 Douglas S. Blank * src/docgen/TextBufDoc.py: fixed translations of Quick View * src/plugins/References.py: fixed translations of ref types diff --git a/src/plugins/DateParserDisplayTest.py b/src/plugins/DateParserDisplayTest.py index 0118ad3e4..0e2ad3e40 100644 --- a/src/plugins/DateParserDisplayTest.py +++ b/src/plugins/DateParserDisplayTest.py @@ -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()