* src/plugins/DetAncestralReport.py: Typos.
* src/plugins/DetDescendantReport.py: Typos. svn: r4030
This commit is contained in:
parent
1843c8bc19
commit
80ef59b353
@ -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.
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user