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 --- mateweather/mateweather-about.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mateweather') diff --git a/mateweather/mateweather-about.c b/mateweather/mateweather-about.c index a1a3d00d..aa4166b0 100644 --- a/mateweather/mateweather-about.c +++ b/mateweather/mateweather-about.c @@ -38,11 +38,18 @@ void mateweather_about_run(MateWeatherApplet* gw_applet) const gchar* documenters[] = { "Dan Mueth ", "Spiros Papadimitriou ", - "Sun GNOME Documentation Team ", + N_("Sun GNOME Documentation Team "), "Davyd Madeley ", + N_("MATE Documentation Team"), NULL }; +#ifdef ENABLE_NLS + const char **p; + for (p = documenters; *p; ++p) + *p = _(*p); +#endif + gtk_show_about_dialog(NULL, "title", _("About Weather Report"), "version", VERSION, -- cgit v1.2.1