From 5b9616df8a2857605a2d123a8ef7a45fe5e0c85c Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 2 Jun 2003 13:23:54 +0000 Subject: [PATCH] * src/plugins/Check.py (build_report): Fixing typos. * src/WriteXML.py (exportData): Likewise. svn: r1626 --- gramps2/ChangeLog | 4 ++++ gramps2/src/WriteXML.py | 2 +- gramps2/src/plugins/Check.py | 6 ++++-- 3 files changed, 9 insertions(+), 3 deletions(-) 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: