[planner] Simplify translator-credit property initialisation



commit a41beb343b339881134de845b54283f6b87dadb4
Author: Alexandre Franke <alexandre franke gmail com>
Date:   Mon Aug 22 17:19:55 2011 +0200

    Simplify translator-credit property initialisation
    
    No need to check whether the message is translated, the about_dialog
    code does that for us and hides the tab if needed.
    
    Also, N_() was overkill here.

 src/planner-window.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/planner-window.c b/src/planner-window.c
index 3091ac1..1806d9f 100644
--- a/src/planner-window.c
+++ b/src/planner-window.c
@@ -1203,10 +1203,6 @@ window_about_cb (GtkAction *action,
 		"Pedro Soria-Rodriguez <sorrodp alum wpi edu>",
 		NULL
 	};
-	/* I18n: Translators, list your names here, newline separated if there
-	 * are more than one, to appear in the about box.
-	 */
-	const gchar   *translator_credits = N_("translator-credits");
 
 	window = PLANNER_WINDOW (data);
 
@@ -1225,9 +1221,7 @@ window_about_cb (GtkAction *action,
 			       "comments", _("A Project Management application for the GNOME desktop"),
 			       "authors", authors,
 			       "documenters", documenters,
-			       "translator-credits",
-			       strcmp (translator_credits,
-				       _("translator-credits")) != 0 ? _(translator_credits) : NULL,
+			       "translator-credits", _("translator-credits"),
 			       "website", "http://live.gnome.org/Planner";,
 			       "website-label", _("The Planner Homepage"),
 			       "logo", pixbuf,



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