* src/plugins/DetAncestralReport.py: Fixed generation string

* src/plugins/DetDescendantReport.py: Fixed generation string


svn: r5256
This commit is contained in:
Don Allingham 2005-09-30 00:46:51 +00:00
parent 8d3d21436c
commit efc4e76449
3 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2005-09-29 Don Allingham <don@gramps-project.org>
* src/plugins/DetAncestralReport.py: Fixed generation string
* src/plugins/DetDescendantReport.py: Fixed generation string
2005-09-29 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/plugins/ExportVCalendar.py: Removed unused code
* src/plugins/ExportVCard.py: Removed unused code

View File

@ -160,9 +160,7 @@ class DetAncestorReport(Report.Report):
if self.pgbrk and generation > 0:
self.doc.page_break()
self.doc.start_paragraph("DAR-Generation")
text = self.gen.get(generation+1,
_("Generation %(generation_number)d") % {
'generation_number' : generation+1 })
text = _("Generation %d") % generation+1
self.doc.write_text(text)
self.doc.end_paragraph()
generation = generation + 1

View File

@ -187,9 +187,7 @@ class DetDescendantReport(Report.Report):
if self.pgbrk and generation > 0:
self.doc.page_break()
self.doc.start_paragraph("DDR-Generation")
text = self.gen.get(generation+1,
_("Generation %(generation_number)d") % {
'generation_number' : generation+1 })
text = _("Generation %d") % generation+1
self.doc.write_text(text)
self.doc.end_paragraph()
if self.childRef: