From fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7 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') 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