From a40fd10e985f525f9e26ef816c2f71a2c22dc725 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 13 Mar 2019 18:29:10 +0100 Subject: Make translatable documenters in about dialog --- cpufreq/src/cpufreq-applet.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpufreq/src') 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 ", "Davyd Madeley ", + 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, -- cgit v1.2.1