From c0686504955e183712e7bd878526697b9215689c Mon Sep 17 00:00:00 2001 From: Zsolt Foldvari Date: Sun, 25 May 2008 13:21:57 +0000 Subject: [PATCH] Typo. Fix #0002174. svn: r10761 --- src/GrampsDbUtils/importdbdir.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GrampsDbUtils/importdbdir.py b/src/GrampsDbUtils/importdbdir.py index 6271bda7c..cf0023e67 100644 --- a/src/GrampsDbUtils/importdbdir.py +++ b/src/GrampsDbUtils/importdbdir.py @@ -58,22 +58,22 @@ def importData(database, dirname, callback=None, cl=0, use_trans=True): other_database.load(name, callback) except: if cl: - print "Error: %s could not be opened. Exiting." % filename + print "Error: %s could not be opened. Exiting." % name else: - ErrorDialog(_("%s could not be opened") % filename) + ErrorDialog(_("%s could not be opened") % name) return if not other_database.version_supported(): if cl: print "Error: %s could not be opened.\n%s Exiting." \ - % (filename, + % (name, _("The database version is not supported " "by this version of GRAMPS.\n"\ "Please upgrade to the corresponding version " "or use XML for porting data between different " "database versions.")) else: - ErrorDialog(_("%s could not be opened") % filename, + ErrorDialog(_("%s could not be opened") % name, _("The Database version is not supported " "by this version of GRAMPS.")) return