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 _ #------------------------------------------------------------------------- #