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

This commit is contained in:
SNoiraud 2015-11-25 17:47:18 +01:00
parent 092b26356c
commit aa18f9c63a

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):