From 848eb99bb7748c14839257862be70bdd18c7fa24 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Wed, 24 Feb 2010 22:56:31 +0000 Subject: [PATCH] Adding named variables to format strings for errors in 'make distcheck' to work. svn: r14456 --- src/plugins/Records.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/Records.py b/src/plugins/Records.py index f70146fca..665052665 100644 --- a/src/plugins/Records.py +++ b/src/plugins/Records.py @@ -210,9 +210,9 @@ def _find_records(db, filter, callname): father = db.get_person_from_handle(father_handle) mother = db.get_person_from_handle(mother_handle) - name = _("%s and %s") % ( - _person_get_display_name(father, callname), - _person_get_display_name(mother, callname)) + name = _("%(father)s and %(mother)s") % { + 'father' : _person_get_display_name(father, callname), + 'mother' : _person_get_display_name(mother, callname) } _record(None, family_mostchildren, len(family.get_child_ref_list()),