From d642d361134bdd8c2eaae22f8a105a68e6983d75 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 --- ChangeLog | 3 +++ src/plugins/Calendar.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 51d591835..c989b8b2f 100644 --- a/ChangeLog +++ b/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/src/plugins/Calendar.py b/src/plugins/Calendar.py index a716f175a..f8a3ab492 100644 --- a/src/plugins/Calendar.py +++ b/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