From 3c7a9ec14b2efa848b81b0ca4c1787738698ae4f Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sat, 4 May 2013 19:30:22 +0000 Subject: [PATCH] enable translation of the "Endnotes" section header-word for these reports svn: r22170 --- gramps/plugins/textreport/detancestralreport.py | 3 ++- gramps/plugins/textreport/detdescendantreport.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/textreport/detancestralreport.py b/gramps/plugins/textreport/detancestralreport.py index d56056831..f254346a2 100644 --- a/gramps/plugins/textreport/detancestralreport.py +++ b/gramps/plugins/textreport/detancestralreport.py @@ -230,7 +230,8 @@ class DetAncestorReport(Report): self.doc.page_break() # it ignores language set for Note type (use locale) endnotes.write_endnotes(self.bibli, self.database, self.doc, - printnotes=self.inc_srcnotes) + printnotes=self.inc_srcnotes, + trans_text_=self._) def write_person(self, key): """Output birth, death, parentage, marriage and notes information """ diff --git a/gramps/plugins/textreport/detdescendantreport.py b/gramps/plugins/textreport/detdescendantreport.py index 032665896..a8e280490 100644 --- a/gramps/plugins/textreport/detdescendantreport.py +++ b/gramps/plugins/textreport/detdescendantreport.py @@ -310,7 +310,8 @@ class DetDescendantReport(Report): self.doc.page_break() # it ignores language set for Note type (use locale) endnotes.write_endnotes(self.bibli, self.database, self.doc, - printnotes=self.inc_srcnotes) + printnotes=self.inc_srcnotes, + trans_text_=self._) def write_path(self, person): path = []