From edd6fc6ee7980417affdcedc87c95315fb1c88eb Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Wed, 24 Feb 2010 23:08:16 +0000 Subject: [PATCH] Adding named variables to format strings for errors in 'make distcheck' to work. svn: r14468 --- src/plugins/quickview/all_events.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/plugins/quickview/all_events.py b/src/plugins/quickview/all_events.py index 9d88eb03a..84bc8f5e4 100644 --- a/src/plugins/quickview/all_events.py +++ b/src/plugins/quickview/all_events.py @@ -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"),