summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sensors-applet/about-dialog.c11
1 files changed, 3 insertions, 8 deletions
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 <glib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include "about-dialog.h"
void about_dialog_open(SensorsApplet *sensors_applet) {
- gchar *translator;
const gchar *authors[] = {
"Alex Murray <[email protected]>",
"Stefano Karapetsas <[email protected]>",
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 <[email protected]>\n(C) 2011, Stefano Karapetsas <[email protected]>",
"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);