/src/OnThisDay.py allow translation on paragraph

svn: r9636
This commit is contained in:
Jérôme Rapinat 2007-12-30 12:11:00 +00:00
parent 3bb6865383
commit c9b3084ab4

View File

@ -90,12 +90,12 @@ def run(database, document, main_event):
sdoc.paragraph("")
if histab.get_row_count() > 0:
sdoc.paragraph("Other events on this day in history")
sdoc.paragraph(_("Other events on this day in history"))
histab.write()
sdoc.paragraph("")
if yeartab.get_row_count() > 0:
sdoc.paragraph("Other events in %d" % main_date.get_year())
sdoc.paragraph(_("Other events in %d") % main_date.get_year())
yeartab.write()
#------------------------------------------------------------------------