From 8440ccbf8756ba1f557baa1c2505220dd5767917 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Wed, 24 Feb 2010 22:59:07 +0000 Subject: [PATCH] Adding named variables to format strings for errors in 'make distcheck' to work. svn: r14459 --- src/plugins/import/ImportGrdb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/import/ImportGrdb.py b/src/plugins/import/ImportGrdb.py index 63d8e9de9..6fdd26923 100644 --- a/src/plugins/import/ImportGrdb.py +++ b/src/plugins/import/ImportGrdb.py @@ -2825,9 +2825,9 @@ def importData(database, filename, callback=None, cl=0): if database.has_name_group_key(key) : present = database.get_name_group_mapping(key) if not value == present: - msg = _("Your family tree groups name %s together" - " with %s, did not change this grouping to %s") % ( - key, present, value) + msg = _("Your family tree groups name %(key)s together" + " with %(present)s, did not change this grouping to %(value)s") % { + 'key' : key, 'present' : present, 'value' : value } LOG.warn(msg) else: database.set_name_group_mapping(key, value)