Fixed spelling error

svn: r15477
This commit is contained in:
Doug Blank 2010-05-25 11:30:43 +00:00
parent f72178b4df
commit 6c91585f43

View File

@ -122,14 +122,14 @@ class GrampsAboutDialog(gtk.AboutDialog):
"LANG: %s\n" + "LANG: %s\n" +
"OS: %s\n" + "OS: %s\n" +
"Distribution: %s") "Distribution: %s")
% (elipses(str(const.VERSION)), % (ellipses(str(const.VERSION)),
elipses(str(sys.version).replace('\n','')), ellipses(str(sys.version).replace('\n','')),
elipses(str(bsddb.__version__) + " " + str(bsddb.db.version())), ellipses(str(bsddb.__version__) + " " + str(bsddb.db.version())),
elipses(os.environ.get('LANG','')), ellipses(os.environ.get('LANG','')),
elipses(operatingsystem), ellipses(operatingsystem),
elipses(distribution))) ellipses(distribution)))
def elipses(text): def ellipses(text):
if len(text) > 40: if len(text) > 40:
return text[:40] + "..." return text[:40] + "..."
return text return text