From 624df01e01391818070390b8e6eaa62a8de40369 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 --- gramps2/ChangeLog | 3 +++ gramps2/src/ViewManager.py | 2 +- gramps2/src/const.py.in | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 0ed6369dd..821ca279f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/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/gramps2/src/ViewManager.py b/gramps2/src/ViewManager.py index e7bdbcfa7..0433ecffd 100644 --- a/gramps2/src/ViewManager.py +++ b/gramps2/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/gramps2/src/const.py.in b/gramps2/src/const.py.in index dbf5352cb..e1a104e39 100644 --- a/gramps2/src/const.py.in +++ b/gramps2/src/const.py.in @@ -28,7 +28,6 @@ # #------------------------------------------------------------------------- import os -from gettext import gettext as _ #------------------------------------------------------------------------- #