* src/plugins/Check.py (build_report): Fixing typos.

* src/WriteXML.py (exportData): Likewise.


svn: r1626
This commit is contained in:
Alex Roitman 2003-06-02 13:23:54 +00:00
parent 3d3870b4df
commit 1b709b4ae6
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-06-02 Tim Waugh <twaugh@users.sourceforge.net>
* src/plugins/Check.py (build_report): Fixing typos.
* src/WriteXML.py (exportData): Likewise.
2003-06-01 Tim Waugh <twaugh@users.sourceforge.net> 2003-06-01 Tim Waugh <twaugh@users.sourceforge.net>
* src/plugins/DetDescendantReport.py * src/plugins/DetDescendantReport.py

View File

@ -77,7 +77,7 @@ def exportData(database, filename, callback):
DisplayTrace.DisplayTrace() DisplayTrace.DisplayTrace()
ErrorDialog(_("Failure writing %s") % filename, 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) shutil.copy(filename + ".bak", filename)
#------------------------------------------------------------------------- #-------------------------------------------------------------------------

View File

@ -248,10 +248,12 @@ class CheckIntegrity:
m.getPrimaryName().getName()) m.getPrimaryName().getName())
elif f: elif f:
pn = f.getPrimaryName().getName() pn = f.getPrimaryName().getName()
else: elif m:
pn = m.getPrimaryName().getName() pn = m.getPrimaryName().getName()
else:
pn = _("unknown")
self.text.write('\t') 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 > 0:
if plink == 1: if plink == 1: