2006-05-21 Alex Roitman <shura@gramps-project.org>

* src/plugins/Calendar.py (print_page): Use correct variable.



svn: r6739
This commit is contained in:
Alex Roitman 2006-05-21 21:03:44 +00:00
parent 4b4ff7e0ac
commit f094353066
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2006-05-21 Alex Roitman <shura@gramps-project.org>
* src/plugins/Calendar.py (print_page): Use correct variable.
2006-05-21 Brian Matherly <brian@gramps-project.org>
* src/plugins/GraphViz.py.in: fix file open.

View File

@ -202,7 +202,7 @@ class Calendar(Report.Report):
self.doc.draw_bar("title", 0, 0, width, header)
self.doc.draw_line("border", 0, header, width, header)
year = self["year"]
title = "%s %d" % (GrampsLocale._months[month], year)
title = "%s %d" % (GrampsLocale.long_months[month], year)
font_height = pt2cm(1.25 * self["title"].get_size())
self.doc.center_text("title", title, width/2, font_height + self["offset"]) # 1.0
cell_width = width / 7