diff options
author | rbuj <[email protected]> | 2019-02-17 12:04:21 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-02-17 16:12:48 +0100 |
commit | 1d86958206e7bd37e03e42c3ce40fa61c010bc76 (patch) | |
tree | 5f9d1df061142ad9621da29458890412cffe19cb /pluma | |
parent | 861db5e99156f5e5dd69e50fbacaf7c8b4d5c5bf (diff) | |
download | pluma-1d86958206e7bd37e03e42c3ce40fa61c010bc76.tar.bz2 pluma-1d86958206e7bd37e03e42c3ce40fa61c010bc76.tar.xz |
Make translatable the documenters in the about dialog
Diffstat (limited to 'pluma')
-rw-r--r-- | pluma/pluma-commands-help.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pluma/pluma-commands-help.c b/pluma/pluma-commands-help.c index 583b1368..a04a5daa 100644 --- a/pluma/pluma-commands-help.c +++ b/pluma/pluma-commands-help.c @@ -65,10 +65,10 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window) NULL }; - static const gchar* const documenters[] = { - "MATE Documentation Team", - "GNOME Documentation Team", - "Sun Microsystems", + static const gchar* documenters[] = { + N_("MATE Documentation Team"), + N_("GNOME Documentation Team"), + N_("Sun Microsystems"), NULL }; @@ -90,11 +90,15 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window) }; gchar *license_trans; + static const gchar **p; pluma_debug (DEBUG_COMMANDS); license_trans = g_strjoin ("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL); + for (p = documenters; *p; ++p) + *p = _(*p); + gtk_show_about_dialog(GTK_WINDOW(window), "program-name", "Pluma", "title", _("About Pluma"), |