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

svn: r14468
This commit is contained in:
Rob G. Healey 2010-02-24 23:08:16 +00:00
parent ae81cbc6ee
commit edd6fc6ee7

View File

@ -95,9 +95,8 @@ def run_fam(database, document, family):
# display the results
sdoc.title(_("Sorted events of family\n %s - %s") %
(sdb.name(sdb.father(family)),
sdb.name(sdb.mother(family))))
sdoc.title(_("Sorted events of family\n %(father)s - %(mother)s")) % {
'father' : sdb.name(sdb.father(family)), 'mother' : sdb.name(sdb.mother(family)) }
sdoc.paragraph("")
stab.columns(_("Family Member"), _("Event Type"),