From a096901c5351ae068462f506e5f6511968114806 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Sun, 20 Oct 2019 17:58:02 +0100 Subject: [PATCH] Replace Marriage heading with relationship type --- gramps/plugins/textreport/familygroup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/textreport/familygroup.py b/gramps/plugins/textreport/familygroup.py index 8c4aa348e..a42cc8d38 100644 --- a/gramps/plugins/textreport/familygroup.py +++ b/gramps/plugins/textreport/familygroup.py @@ -399,11 +399,11 @@ class FamilyGroup(Report): self.doc.start_row() self.doc.start_cell('FGR-ParentHead', 3) self.doc.start_paragraph('FGR-ParentName') - header = self._("Marriage") + relationship_type = self._get_type(family.get_relationship()) + header = self._("Relationship: %s") % self._(relationship_type) if self.gramps_ids: header += " (%s)" % family.get_gramps_id() - # Translators: needed for French, ignore otherwise - self.doc.write_text(self._("%s:") % header) + self.doc.write_text(header) self.doc.end_paragraph() self.doc.end_cell() self.doc.end_row()