diff options
author | rbuj <[email protected]> | 2019-03-20 19:05:32 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-24 11:03:44 +0100 |
commit | 5e42d34cdffe3bb72b545cb686ba7888850e6a3e (patch) | |
tree | 9bee6720516ec9ad4774e1bd260cc1608cc7a975 /baobab | |
parent | c56141f59efa11edee8d9b4f99a2e37ff64f92ba (diff) | |
download | mate-utils-5e42d34cdffe3bb72b545cb686ba7888850e6a3e.tar.bz2 mate-utils-5e42d34cdffe3bb72b545cb686ba7888850e6a3e.tar.xz |
Update documenters in about dialog
Diffstat (limited to 'baobab')
-rw-r--r-- | baobab/src/callbacks.c | 13 |
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); |