summaryrefslogtreecommitdiff
path: root/cpufreq/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-13 18:29:10 +0100
committerraveit65 <[email protected]>2019-03-20 15:38:56 +0100
commita40fd10e985f525f9e26ef816c2f71a2c22dc725 (patch)
tree9f651b18108bad315da2221362a09a1bb26681f3 /cpufreq/src
parent5059df0f47487b7aed5be05640bdec87a4573813 (diff)
downloadmate-applets-a40fd10e985f525f9e26ef816c2f71a2c22dc725.tar.bz2
mate-applets-a40fd10e985f525f9e26ef816c2f71a2c22dc725.tar.xz
Make translatable documenters in about dialog
Diffstat (limited to 'cpufreq/src')
-rw-r--r--cpufreq/src/cpufreq-applet.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c
index 323b21db..1d110556 100644
--- a/cpufreq/src/cpufreq-applet.c
+++ b/cpufreq/src/cpufreq-applet.c
@@ -466,6 +466,7 @@ cpufreq_applet_about_cb (GtkAction *action,
static const gchar *const documenters[] = {
"Carlos Garcia Campos <[email protected]>",
"Davyd Madeley <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
static const gchar *const artists[] = {
@@ -473,6 +474,12 @@ cpufreq_applet_about_cb (GtkAction *action,
NULL
};
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (NULL,
"title", _("About CPU Frequency Scaling Monitor"),
"version", VERSION,