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 --- battstat/battstat_applet.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'battstat/battstat_applet.c') diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c index 57e426f3..bb52c7fd 100644 --- a/battstat/battstat_applet.c +++ b/battstat/battstat_applet.c @@ -816,6 +816,7 @@ about_cb( GtkAction *action, ProgressData *battstat ) "J\xC3\xB6rgen Pehrson ", "Trevor Curtis ", "Davyd Madeley ", + N_("MATE Documentation Team"), NULL }; @@ -825,6 +826,12 @@ about_cb( GtkAction *action, ProgressData *battstat ) /* true */ _("upower backend enabled.") : /* false */ _("Legacy backend enabled.")); +#ifdef ENABLE_NLS + const char **p; + for (p = documenters; *p; ++p) + *p = _(*p); +#endif + gtk_show_about_dialog( NULL, "title", _("About Battery Charge Monitor"), "version", VERSION, -- cgit v1.2.1