summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-12-18 00:07:54 +0100
committerStefano Karapetsas <[email protected]>2012-12-18 00:07:54 +0100
commit0bca7365d5c1d574d644e4cf316f99801aeaa298 (patch)
tree867f61233f0520da2450f8537045f50f18efd4ec
parent1c5da0e7861a95860a05406e6d1c08ac6f94605e (diff)
downloadmate-sensors-applet-0bca7365d5c1d574d644e4cf316f99801aeaa298.tar.bz2
mate-sensors-applet-0bca7365d5c1d574d644e4cf316f99801aeaa298.tar.xz
Improve internationalization of translators credits
-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);