From c99d5ca6e75e41149eafe60159a6341ecaaa5493 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Wed, 13 Dec 2006 06:33:39 +0000 Subject: [PATCH] * src/ViewManager.py (about): Only displaye translator credits when they exist. svn: r7793 --- ChangeLog | 2 ++ src/ViewManager.py | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f1c853480..eda8dfeaf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 2006-12-12 Alex Roitman + * 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 diff --git a/src/ViewManager.py b/src/ViewManager.py index f80c1eca8..7c3d0bb34 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -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)