Don't check cross references if skip-check-xref is a db-feature; fixed spelling typo;
svn: r19723
This commit is contained in:
parent
9090d09881
commit
2272661654
@ -2565,6 +2565,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
src.set_title(title)
|
src.set_title(title)
|
||||||
self.dbase.add_source(src, self.trans)
|
self.dbase.add_source(src, self.trans)
|
||||||
|
|
||||||
|
if not self.dbase.get_feature("skip-check-xref"):
|
||||||
self.__check_xref()
|
self.__check_xref()
|
||||||
self.dbase.enable_signals()
|
self.dbase.enable_signals()
|
||||||
self.dbase.request_rebuild()
|
self.dbase.request_rebuild()
|
||||||
@ -3033,7 +3034,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
txt = _("\nThe imported file was not self-contained.\n"
|
txt = _("\nThe imported file was not self-contained.\n"
|
||||||
"To correct for that, %d objects were created and\n"
|
"To correct for that, %d objects were created and\n"
|
||||||
"their typifying attribute was set to 'Unknown'.\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"
|
"referenced by note %s.\n"
|
||||||
) % (self.missing_references, self.explanation.gramps_id)
|
) % (self.missing_references, self.explanation.gramps_id)
|
||||||
self.__add_msg(txt)
|
self.__add_msg(txt)
|
||||||
|
Loading…
Reference in New Issue
Block a user