diff --git a/ChangeLog b/ChangeLog index 3f7df1cb9..015dffb32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2008-03-02 Jerome Rapinat + * src/plugins/AgeOnDate.py : minor change for better translations + 2008-03-02 Douglas S. Blank * src/plugins/DefaultGramplets.py (PedigreeGramplet.get_boxes): Fixed a bug in turning off vertical lines; other refinements diff --git a/src/plugins/AgeOnDate.py b/src/plugins/AgeOnDate.py index b1d78e939..833f34ffd 100644 --- a/src/plugins/AgeOnDate.py +++ b/src/plugins/AgeOnDate.py @@ -43,7 +43,11 @@ def run(database, document, date): sdoc.paragraph("Date is not a valid date.") return # display the title - sdoc.title(_("People probably alive and their ages on %s") % + if date.get_day_valid(): + sdoc.title(_("People probably alive and their ages the %s") % + DateHandler.displayer.display(date)) + else: + sdoc.title(_("People probably alive and their ages on %s") % DateHandler.displayer.display(date)) sdoc.paragraph("\n") stab.columns(_("Person"), _("Age")) # Actual Date makes column unicode