summaryrefslogtreecommitdiff
path: root/mate-dictionary/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-03-20 19:05:32 +0100
committerraveit65 <[email protected]>2019-03-24 11:03:44 +0100
commit5e42d34cdffe3bb72b545cb686ba7888850e6a3e (patch)
tree9bee6720516ec9ad4774e1bd260cc1608cc7a975 /mate-dictionary/src
parentc56141f59efa11edee8d9b4f99a2e37ff64f92ba (diff)
downloadmate-utils-5e42d34cdffe3bb72b545cb686ba7888850e6a3e.tar.bz2
mate-utils-5e42d34cdffe3bb72b545cb686ba7888850e6a3e.tar.xz
Update documenters in about dialog
Diffstat (limited to 'mate-dictionary/src')
-rw-r--r--mate-dictionary/src/gdict-about.c11
1 files changed, 9 insertions, 2 deletions
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,