summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--baobab/src/callbacks.c13
-rw-r--r--logview/src/logview-about.h3
-rw-r--r--logview/src/logview-window.c6
-rw-r--r--mate-dictionary/src/gdict-about.c11
4 files changed, 30 insertions, 3 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);
diff --git a/logview/src/logview-about.h b/logview/src/logview-about.h
index 15f4068d..758679cd 100644
--- a/logview/src/logview-about.h
+++ b/logview/src/logview-about.h
@@ -39,9 +39,10 @@ static const char *logview_about_authors[] = {
};
static const char *logview_about_documenters[] = {
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
"Vincent Noel <[email protected]>",
"Judith Samson <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
diff --git a/logview/src/logview-window.c b/logview/src/logview-window.c
index 1a64fed0..b7120812 100644
--- a/logview/src/logview-window.c
+++ b/logview/src/logview-window.c
@@ -763,6 +763,12 @@ logview_about (GtkWidget *widget, GtkWidget *window)
_(logview_about_license[1]),
_(logview_about_license[2]), NULL);
+#ifdef ENABLE_NLS
+ const char **p;
+ for (p = logview_about_documenters; *p; ++p)
+ *p = _(*p);
+#endif
+
gtk_show_about_dialog (GTK_WINDOW (window),
"program-name", _("System Log Viewer"),
"version", VERSION,
diff --git a/mate-dictionary/src/gdict-about.c b/mate-dictionary/src/gdict-about.c
index ac8bd073..69620891 100644
--- a/mate-dictionary/src/gdict-about.c
+++ b/mate-dictionary/src/gdict-about.c
@@ -46,9 +46,10 @@ gdict_show_about_dialog (GtkWidget *parent)
};
const gchar *documenters[] = {
- "Sun GNOME Documentation Team <[email protected]>",
+ N_("Sun GNOME Documentation Team <[email protected]>"),
"John Fleck <[email protected]>",
"Emmanuele Bassi <[email protected]>",
+ N_("MATE Documentation Team"),
NULL
};
@@ -69,13 +70,19 @@ gdict_show_about_dialog (GtkWidget *parent)
N_("You should have received a copy of the GNU General Public License "
"along with this program; if not, write to the Free Software "
"Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA "
- "02110-1301, USA")
+ "02110-1301, USA.")
};
g_return_if_fail (GTK_IS_WIDGET (parent));
char *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_IS_WINDOW (parent) ? GTK_WINDOW (parent) : NULL,
"program-name", _("Dictionary"),
"version", VERSION,