* src/plugins/DetAncestralReport.py: Typos.

* src/plugins/DetDescendantReport.py: Typos.


svn: r4030
This commit is contained in:
Alex Roitman 2005-02-14 21:39:59 +00:00
parent 21da722351
commit 7a2a3d401d
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2005-02-14 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/DetAncestralReport.py: Typos.
* src/plugins/DetDescendantReport.py: Typos.
2005-02-04 Alex Roitman <shura@alex.neuro.umn.edu> 2005-02-04 Alex Roitman <shura@alex.neuro.umn.edu>
* src/ReadGrdb.py: Check for overlapping handles prior to * src/ReadGrdb.py: Check for overlapping handles prior to
modifying data. modifying data.

View File

@ -153,8 +153,10 @@ class DetAncestorReport(Report.Report):
if self.pgbrk and generation > 0: if self.pgbrk and generation > 0:
self.doc.page_break() self.doc.page_break()
self.doc.start_paragraph("DAR-Generation") self.doc.start_paragraph("DAR-Generation")
t = _("%s Generation") % DetAncestorReport.gen[generation+1] text = self.gen.get(generation+1,
self.doc.write_text(t) _("Generation %(generation_number)d") % {
'generation_number' : generation+1 })
self.doc.write_text(text)
self.doc.end_paragraph() self.doc.end_paragraph()
generation = generation + 1 generation = generation + 1
if self.childRef: if self.childRef:

View File

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