* src/ViewManager.py (about): Only displaye translator credits

when they exist.


svn: r7793
This commit is contained in:
Alex Roitman 2006-12-13 06:33:39 +00:00
parent 601c08b178
commit 3e8af0506c
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2006-12-12 Alex Roitman <shura@gramps-project.org> 2006-12-12 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (about): Only displaye translator credits
when they exist.
* src/images/Makefile.am (icon_DATA): Install icon into pixmaps dir. * src/images/Makefile.am (icon_DATA): Install icon into pixmaps dir.
2006-12-12 Martin Hawlisch <Martin.Hawlisch@gmx.de> 2006-12-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>

View File

@ -617,7 +617,12 @@ class ViewManager:
about.set_website_label(_('GRAMPS Homepage')) about.set_website_label(_('GRAMPS Homepage'))
about.set_website(const.url_homepage) about.set_website(const.url_homepage)
about.set_authors(const.authors) about.set_authors(const.authors)
about.set_translator_credits(_(const.translators))
# Only set translation credits if they are translated
trans_credits = _(const.translators)
if trans_credits != const.translators:
about.set_translator_credits(trans_credits)
about.set_documenters(const.documenters) about.set_documenters(const.documenters)
about.set_logo(gtk.gdk.pixbuf_new_from_file(const.splash)) about.set_logo(gtk.gdk.pixbuf_new_from_file(const.splash))
about.set_modal(True) about.set_modal(True)