diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 054ba4de0..3559c74ea 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2003-06-02 Tim Waugh + * src/plugins/Check.py (build_report): Fixing typos. + * src/WriteXML.py (exportData): Likewise. + 2003-06-01 Tim Waugh * src/plugins/DetDescendantReport.py diff --git a/gramps2/src/WriteXML.py b/gramps2/src/WriteXML.py index d617ce914..418576472 100644 --- a/gramps2/src/WriteXML.py +++ b/gramps2/src/WriteXML.py @@ -77,7 +77,7 @@ def exportData(database, filename, callback): DisplayTrace.DisplayTrace() ErrorDialog(_("Failure writing %s") % filename, - _("An attempt is begin made to recover the original file")) + _("An attempt is being made to recover the original file")) shutil.copy(filename + ".bak", filename) #------------------------------------------------------------------------- diff --git a/gramps2/src/plugins/Check.py b/gramps2/src/plugins/Check.py index 038d6214b..f7bc5345e 100644 --- a/gramps2/src/plugins/Check.py +++ b/gramps2/src/plugins/Check.py @@ -248,10 +248,12 @@ class CheckIntegrity: m.getPrimaryName().getName()) elif f: pn = f.getPrimaryName().getName() - else: + elif m: pn = m.getPrimaryName().getName() + else: + pn = _("unknown") self.text.write('\t') - self.text.write('_("%s was removed from the family of %s\n") % (cn,pn)') + self.text.write(_("%s was removed from the family of %s\n") % (cn,pn)) if plink > 0: if plink == 1: