Don't check cross references if skip-check-xref is a db-feature; fixed spelling typo;

svn: r19723
This commit is contained in:
Doug Blank 2012-05-31 14:07:02 +00:00
parent 9090d09881
commit 2272661654

View File

@ -2565,6 +2565,7 @@ class GedcomParser(UpdateCallback):
src.set_title(title)
self.dbase.add_source(src, self.trans)
if not self.dbase.get_feature("skip-check-xref"):
self.__check_xref()
self.dbase.enable_signals()
self.dbase.request_rebuild()
@ -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)