/src/OnThisDay.py allow translation on paragraph
svn: r9636
This commit is contained in:
parent
3bb6865383
commit
c9b3084ab4
@ -90,12 +90,12 @@ def run(database, document, main_event):
|
|||||||
|
|
||||||
sdoc.paragraph("")
|
sdoc.paragraph("")
|
||||||
if histab.get_row_count() > 0:
|
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()
|
histab.write()
|
||||||
|
|
||||||
sdoc.paragraph("")
|
sdoc.paragraph("")
|
||||||
if yeartab.get_row_count() > 0:
|
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()
|
yeartab.write()
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user