summaryrefslogtreecommitdiff
path: root/battstat
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-13 18:29:10 +0100
committerraveit65 <[email protected]>2019-03-20 15:38:56 +0100
commita40fd10e985f525f9e26ef816c2f71a2c22dc725 (patch)
tree9f651b18108bad315da2221362a09a1bb26681f3 /battstat
parent5059df0f47487b7aed5be05640bdec87a4573813 (diff)
downloadmate-applets-a40fd10e985f525f9e26ef816c2f71a2c22dc725.tar.bz2
mate-applets-a40fd10e985f525f9e26ef816c2f71a2c22dc725.tar.xz
Make translatable documenters in about dialog
Diffstat (limited to 'battstat')
-rw-r--r--battstat/battstat_applet.c7
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,