From 2272661654e29b2829a63b3f34cbbc27f7b31fe2 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 31 May 2012 14:07:02 +0000 Subject: [PATCH] Don't check cross references if skip-check-xref is a db-feature; fixed spelling typo; svn: r19723 --- src/plugins/lib/libgedcom.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/lib/libgedcom.py b/src/plugins/lib/libgedcom.py index 6c2d6a11b..66f332659 100644 --- a/src/plugins/lib/libgedcom.py +++ b/src/plugins/lib/libgedcom.py @@ -2565,7 +2565,8 @@ class GedcomParser(UpdateCallback): src.set_title(title) self.dbase.add_source(src, self.trans) - self.__check_xref() + if not self.dbase.get_feature("skip-check-xref"): + self.__check_xref() self.dbase.enable_signals() self.dbase.request_rebuild() if self.number_of_errors == 0: @@ -3033,7 +3034,7 @@ class GedcomParser(UpdateCallback): txt = _("\nThe imported file was not self-contained.\n" "To correct for that, %d objects were created and\n" "their typifying attribute was set to 'Unknown'.\n" - "Where possible these 'Unkown' objects are \n" + "Where possible these 'Unknown' objects are \n" "referenced by note %s.\n" ) % (self.missing_references, self.explanation.gramps_id) self.__add_msg(txt)