enable translation of the "Endnotes" section header-word for these reports

svn: r22170
This commit is contained in:
Paul Franklin 2013-05-04 19:30:22 +00:00
parent a360db221f
commit 3c7a9ec14b
2 changed files with 4 additions and 2 deletions

View File

@ -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 """

View File

@ -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 = []