From 4f39e17da99d58875069701f6bca27638b31fb27 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 20 Mar 2019 19:05:32 +0100 Subject: Update documenters in about dialog --- mate-dictionary/src/gdict-about.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'mate-dictionary') 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 ", + N_("Sun GNOME Documentation Team "), "John Fleck ", "Emmanuele Bassi ", + 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, -- cgit v1.2.1