diff options
author | rbuj <[email protected]> | 2019-03-13 18:29:10 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-20 15:56:00 +0100 |
commit | fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7 (patch) | |
tree | 568de6b6214c5fb9a6ed1f79a0077192da68a55f /battstat | |
parent | e2b5737f3401f29a77c2d4aa00950e081e4ce64b (diff) | |
download | mate-applets-fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7.tar.bz2 mate-applets-fa5d9ce97cfabfd94a08db60bef31ac1ca41a9f7.tar.xz |
Make translatable documenters in about dialog
Diffstat (limited to 'battstat')
-rw-r--r-- | battstat/battstat_applet.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <[email protected]>", "Trevor Curtis <[email protected]>", "Davyd Madeley <[email protected]>", + 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, |