Adding named variables to format strings for errors in 'make distcheck' to work.

svn: r14457
This commit is contained in:
Rob G. Healey 2010-02-24 22:57:18 +00:00
parent 848eb99bb7
commit f99b1ac371

View File

@ -176,7 +176,8 @@ def _get_subject(options, dbase):
else: else:
mother_name = _("unknown mother") mother_name = _("unknown mother")
name = _("%s and %s (%s)") % (father_name, mother_name, family_id) name = _("%(father)s and %(mother)s (%(id)s)") % {
'father' : father_name, 'mother' : mother_name, 'id' : family_id }
return name return name
return _("Not Applicable") return _("Not Applicable")