From 0bca7365d5c1d574d644e4cf316f99801aeaa298 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 18 Dec 2012 00:07:54 +0100 Subject: Improve internationalization of translators credits --- sensors-applet/about-dialog.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'sensors-applet') diff --git a/sensors-applet/about-dialog.c b/sensors-applet/about-dialog.c index 39603b2..602fe05 100644 --- a/sensors-applet/about-dialog.c +++ b/sensors-applet/about-dialog.c @@ -20,24 +20,18 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ +#include #include #include #include "about-dialog.h" void about_dialog_open(SensorsApplet *sensors_applet) { - gchar *translator; const gchar *authors[] = { "Alex Murray ", "Stefano Karapetsas ", NULL }; - if (_("Translator") == "Translator") { - translator = NULL; - } else { - translator = g_strdup(_("To translator: Put your name here to show up in the About dialog as the translator")); - } - /* Construct the about dialog */ gtk_show_about_dialog(NULL, "program-name", PACKAGE_NAME, @@ -45,7 +39,8 @@ void about_dialog_open(SensorsApplet *sensors_applet) { "copyright", "(C) 2005-2009, Alex Murray \n(C) 2011, Stefano Karapetsas ", "authors", authors, "documenters", authors, - "translator-credits", translator, + /* To translator: Put your name here to show up in the About dialog as the translator */ + "translator-credits", _("translator-credits"), "logo-icon-name", SENSORS_APPLET_ICON, "website", "http://www.mate-desktop.org", NULL); -- cgit v1.2.1