* 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
This commit is contained in:
Alex Roitman 2006-10-27 02:49:54 +00:00
parent 7ec5a0a7e8
commit 4cb9251617
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,7 @@
2006-10-26 Alex Roitman <shura@gramps-project.org> 2006-10-26 Alex Roitman <shura@gramps-project.org>
* 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. * NEWS: Update.
* help/gramps.pot: Regenerate manual template. * help/gramps.pot: Regenerate manual template.
* src/data/tips.xml.in (family): Escape quotes. * src/data/tips.xml.in (family): Escape quotes.

View File

@ -571,7 +571,7 @@ class ViewManager:
f.close() f.close()
except: except:
pass pass
about.set_comments(const.comments) about.set_comments(_(const.comments))
about.set_website_label(_('GRAMPS Homepage')) about.set_website_label(_('GRAMPS Homepage'))
about.set_website('http://gramps-project.org') about.set_website('http://gramps-project.org')
about.set_authors(const.authors) about.set_authors(const.authors)

View File

@ -28,7 +28,6 @@
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
import os import os
from gettext import gettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #