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

* src/plugins/AgeOnDate.py : minor change for better translations



svn: r10155
This commit is contained in:
Jérôme Rapinat
2008-03-02 06:12:05 +00:00
parent 6b8d041c94
commit 9befaa17ff
2 changed files with 8 additions and 1 deletions

View File

@@ -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