summaryrefslogtreecommitdiff
path: root/baobab
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-20 19:05:32 +0100
committerraveit65 <[email protected]>2019-03-24 11:18:31 +0100
commit4f39e17da99d58875069701f6bca27638b31fb27 (patch)
treea2017d08010638bfd02f05fd68b112f18c637288 /baobab
parentad3ae7d752f1f7ff9baa3cae76be822efb06c640 (diff)
downloadmate-utils-4f39e17da99d58875069701f6bca27638b31fb27.tar.bz2
mate-utils-4f39e17da99d58875069701f6bca27638b31fb27.tar.xz
Update documenters in about dialog
Diffstat (limited to 'baobab')
-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);