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

svn: r22171
This commit is contained in:
Paul Franklin 2013-05-04 19:30:40 +00:00
parent 52f2b9e46a
commit 16dbd437e1
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 = []