[phonemgr] No need for special handling of "translator-credits" string



commit 1f5a8f03b9dc0eff2462d76ae134896b3fbf2df4
Author: Daniele Forsi <dforsi src gnome org>
Date:   Fri Mar 18 15:01:40 2011 +0100

    No need for special handling of "translator-credits" string
    
    It is done internally by gtk_show_about_dialog() anyway.
    http://library.gnome.org/devel/gtk/unstable/GtkAboutDialog.html#gtk-about-dialog-set-translator-credits

 src/menu.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/menu.c b/src/menu.c
index e8ebeae..98905a0 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -37,7 +37,6 @@ about_activated(GtkMenuItem *item, gpointer data)
 {
 	const char *authors[] = { "Bastien Nocera <hadess hadess net>", "Edd Dumbill <edd usefulinc com>", NULL };
 	const char *documenters[] = { NULL };
-	const char *translator_credits = _("translator_credits");
 
 	gtk_show_about_dialog (NULL,
 			       "authors", authors,
@@ -53,7 +52,7 @@ about_activated(GtkMenuItem *item, gpointer data)
 			       "name", _("Phone Manager"),
 #endif /* GTK+ 2.11.0 */
 			       "version", VERSION,
-			       "translator-credits", strcmp (translator_credits, "translator_credits") != 0 ?  translator_credits : NULL,
+			       "translator-credits", _("translator_credits"),
 			       "website", "http://live.gnome.org/PhoneManager";,
 			       "website-label", _("Phone Manager website"),
 			       NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]