diff --git a/gramps2/src/plugins/DetDescendantReport.py b/gramps2/src/plugins/DetDescendantReport.py index 63d171270..0a8603f9e 100644 --- a/gramps2/src/plugins/DetDescendantReport.py +++ b/gramps2/src/plugins/DetDescendantReport.py @@ -499,7 +499,7 @@ class DetDescendantReport(Report): (heshe, spouse, fulldate, place) else: if fulldate == "" and place == "": - t= _(" %s married") + t= _(" %s married") % heshe elif fulldate == "" and place != "": t= _(" %s married in %s") % (heshe, place) elif fulldate != "" and place == "": diff --git a/gramps2/src/plugins/FtmStyleDescendants.py b/gramps2/src/plugins/FtmStyleDescendants.py index a1a2ef7f2..a297cfae5 100644 --- a/gramps2/src/plugins/FtmStyleDescendants.py +++ b/gramps2/src/plugins/FtmStyleDescendants.py @@ -287,11 +287,11 @@ class FtmDescendantReport(Report.Report): def print_more_about(self,person): first = 1 - ncount = 0 + ncount = 1 for name in person.getAlternateNames(): if first: self.doc.start_paragraph('SubEntry') - self.doc.write_text(_('More about %(person_name)s:') % { 'person_name' : name }) + self.doc.write_text(_('More about %(person_name)s:') % { 'person_name' : person.getPrimaryName().getRegularName() }) self.doc.end_paragraph() first = 0 self.doc.start_paragraph('Details') @@ -330,6 +330,7 @@ class FtmDescendantReport(Report.Report): else: self.doc.write_text(_('%(event_name)s: %(place)s%(endnotes)s') % { 'event_name' : event.getName(), + 'endnotes' : self.endnotes(event), 'place' : event.getPlaceName() }) self.doc.end_paragraph() @@ -1101,10 +1102,10 @@ class FtmDescendantReport(Report.Report): elif father: if dead: self.doc.write_text(_("She was the daughter of %(father)s.") % { - 'father' : mother.getPrimaryName().getRegularName(), }) + 'father' : father.getPrimaryName().getRegularName(), }) else: self.doc.write_text(_("She is the daughter of %(father)s.") % { - 'father' : mother.getPrimaryName().getRegularName(), }) + 'father' : father.getPrimaryName().getRegularName(), }) self.doc.write_text(' ');