From f094353066a8f2f1e07bc4e185d9059e62327d6b Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 21 May 2006 21:03:44 +0000 Subject: [PATCH] 2006-05-21 Alex Roitman * src/plugins/Calendar.py (print_page): Use correct variable. svn: r6739 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/Calendar.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 51d591835..c989b8b2f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-05-21 Alex Roitman + * src/plugins/Calendar.py (print_page): Use correct variable. + 2006-05-21 Brian Matherly * src/plugins/GraphViz.py.in: fix file open. diff --git a/gramps2/src/plugins/Calendar.py b/gramps2/src/plugins/Calendar.py index a716f175a..f8a3ab492 100644 --- a/gramps2/src/plugins/Calendar.py +++ b/gramps2/src/plugins/Calendar.py @@ -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