summaryrefslogtreecommitdiff
path: root/baobab/src/callbacks.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-20 19:05:32 +0100
committerraveit65 <[email protected]>2019-03-24 11:03:44 +0100
commit5e42d34cdffe3bb72b545cb686ba7888850e6a3e (patch)
tree9bee6720516ec9ad4774e1bd260cc1608cc7a975 /baobab/src/callbacks.c
parentc56141f59efa11edee8d9b4f99a2e37ff64f92ba (diff)
downloadmate-utils-5e42d34cdffe3bb72b545cb686ba7888850e6a3e.tar.bz2
mate-utils-5e42d34cdffe3bb72b545cb686ba7888850e6a3e.tar.xz
Update documenters in about dialog
Diffstat (limited to 'baobab/src/callbacks.c')
-rw-r--r--baobab/src/callbacks.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/baobab/src/callbacks.c b/baobab/src/callbacks.c
index bc4915cd..487d9b3d 100644
--- a/baobab/src/callbacks.c
+++ b/baobab/src/callbacks.c
@@ -72,6 +72,12 @@ on_about_activate (GtkMenuItem *menuitem, gpointer user_data)
NULL
};
+ const gchar* documenters[] = {
+ "Fabio Marzocca <[email protected]>",
+ N_("MATE Documentation Team"),
+ NULL,
+ };
+
const gchar* license[] = {
N_("This program is free software; you can redistribute it and/or "
"modify it under the terms of the GNU General Public License as "
@@ -91,6 +97,12 @@ on_about_activate (GtkMenuItem *menuitem, gpointer user_data)
gchar* license_trans = g_strjoin("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (GTK_WINDOW (baobab.window),
"program-name", _("Disk Usage Analyzer"),
"version", VERSION,
@@ -101,6 +113,7 @@ on_about_activate (GtkMenuItem *menuitem, gpointer user_data)
"logo-icon-name", "mate-disk-usage-analyzer",
"license", license_trans,
"authors", authors,
+ "documenters", documenters,
"translator-credits", _("translator-credits"),
"wrap-license", TRUE,
NULL);