summaryrefslogtreecommitdiff
path: root/cpufreq
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-13 18:29:10 +0100
committerraveit65 <[email protected]>2019-03-20 15:56:00 +0100
commitfa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7 (patch)
tree568de6b6214c5fb9a6ed1f79a0077192da68a55f /cpufreq
parente2b5737f3401f29a77c2d4aa00950e081e4ce64b (diff)
downloadmate-applets-fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7.tar.bz2
mate-applets-fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7.tar.xz
Make translatable documenters in about dialog
Diffstat (limited to 'cpufreq')
-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,