From 2d3ecfb22f5e3a00f207c7db2ac732595ed9a718 Mon Sep 17 00:00:00 2001 From: Michiel Nauta Date: Mon, 31 Jan 2011 18:44:45 +0000 Subject: [PATCH] Fix errormessage on import of duplicate namemap value. svn: r16515 --- src/plugins/import/ImportXml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/import/ImportXml.py b/src/plugins/import/ImportXml.py index 100fdf69c..b9e3fc33f 100644 --- a/src/plugins/import/ImportXml.py +++ b/src/plugins/import/ImportXml.py @@ -1346,10 +1346,10 @@ class GrampsParser(UpdateCallback): if self.db.has_name_group_key(key) : present = self.db.get_name_group_mapping(key) if not value == present: - msg = _("Your family tree groups name %(key)s together" - " with %(parent)s, did not change this grouping to %(value)s") % { + msg = _('Your family tree groups name "%(key)s" together' + ' with "%(parent)s", did not change this grouping to "%(value)s".') % { 'key' : key, 'parent' : present, 'value' : value } - self.errmsg(msg) + WarningDialog(_("Gramps ignored namemap value"), msg) else: self.db.set_name_group_mapping(key, value)