* src/ViewManager.py (about): Only displaye translator credits
when they exist. svn: r7793
This commit is contained in:
parent
601c08b178
commit
3e8af0506c
@ -1,4 +1,6 @@
|
||||
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.
|
||||
|
||||
2006-12-12 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||
|
@ -617,7 +617,12 @@ class ViewManager:
|
||||
about.set_website_label(_('GRAMPS Homepage'))
|
||||
about.set_website(const.url_homepage)
|
||||
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_logo(gtk.gdk.pixbuf_new_from_file(const.splash))
|
||||
about.set_modal(True)
|
||||
|
Loading…
Reference in New Issue
Block a user