From f99b1ac37120dbe4bbcf9dac6d40b5763652238b Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Wed, 24 Feb 2010 22:57:18 +0000 Subject: [PATCH] Adding named variables to format strings for errors in 'make distcheck' to work. svn: r14457 --- src/plugins/BookReport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index e8fb018ce..5784e6005 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -176,7 +176,8 @@ def _get_subject(options, dbase): else: 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 _("Not Applicable")