From 4cb92516175e75d80886d3d490c3bd6d3164dc0c Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 27 Oct 2006 02:49:54 +0000 Subject: [PATCH] * src/ViewManager.py (ViewManager.about): Translate comments. * src/const.py.in: No gettext (won't work anyway because const.py is imported before textdomain is set. svn: r7444 --- ChangeLog | 3 +++ src/ViewManager.py | 2 +- src/const.py.in | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0ed6369dd..821ca279f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ 2006-10-26 Alex Roitman + * src/ViewManager.py (ViewManager.about): Translate comments. + * src/const.py.in: No gettext (won't work anyway because const.py + is imported before textdomain is set. * NEWS: Update. * help/gramps.pot: Regenerate manual template. * src/data/tips.xml.in (family): Escape quotes. diff --git a/src/ViewManager.py b/src/ViewManager.py index e7bdbcfa7..0433ecffd 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -571,7 +571,7 @@ class ViewManager: f.close() except: pass - about.set_comments(const.comments) + about.set_comments(_(const.comments)) about.set_website_label(_('GRAMPS Homepage')) about.set_website('http://gramps-project.org') about.set_authors(const.authors) diff --git a/src/const.py.in b/src/const.py.in index dbf5352cb..e1a104e39 100644 --- a/src/const.py.in +++ b/src/const.py.in @@ -28,7 +28,6 @@ # #------------------------------------------------------------------------- import os -from gettext import gettext as _ #------------------------------------------------------------------------- #