9073 : 'Unknown' spouse uses an harcoded string name on Simple Descendants textual report

This commit is contained in:
SNoiraud 2015-11-25 17:44:01 +01:00
parent a766ec583a
commit f15f6a14b0

View File

@ -225,7 +225,7 @@ class Printinfo():
else: else:
self.doc.start_paragraph("DR-Spouse%d" % min(level, 32)) self.doc.start_paragraph("DR-Spouse%d" % min(level, 32))
self.doc.write_text( self.doc.write_text(
self._("sp. %(spouse)s") % {'spouse':'Unknown'}) self._("sp. %(spouse)s") % {'spouse':_('Unknown')})
self.doc.end_paragraph() self.doc.end_paragraph()
def print_reference(self, level, person, display_num): def print_reference(self, level, person, display_num):