From a40fd10e985f525f9e26ef816c2f71a2c22dc725 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 13 Mar 2019 18:29:10 +0100 Subject: Make translatable documenters in about dialog --- stickynotes/stickynotes_applet_callbacks.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'stickynotes') diff --git a/stickynotes/stickynotes_applet_callbacks.c b/stickynotes/stickynotes_applet_callbacks.c index d0c508a8..d2ca70f4 100644 --- a/stickynotes/stickynotes_applet_callbacks.c +++ b/stickynotes/stickynotes_applet_callbacks.c @@ -364,10 +364,17 @@ menu_about_cb (GtkAction *action, static const gchar *documenters[] = { "Loban A Rahman ", - "Sun GNOME Documentation Team ", + N_("Sun GNOME Documentation Team "), + N_("MATE Documentation Team"), NULL }; +#ifdef ENABLE_NLS + const char **p; + for (p = documenters; *p; ++p) + *p = _(*p); +#endif + gtk_show_about_dialog (NULL, "title", _("About Sticky Notes"), "version", VERSION, -- cgit v1.2.1