Skip to content
Permalink
Browse files

Make translatable the documenters in the about dialog

  • Loading branch information...
rbuj authored and raveit65 committed Feb 17, 2019
1 parent 861db5e commit 1d86958206e7bd37e03e42c3ce40fa61c010bc76
Showing with 24 additions and 8 deletions.
  1. +16 −4 pluma.pot
  2. +8 −4 pluma/pluma-commands-help.c
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: MATE Desktop Environment\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-16 22:22+0100\n"
"POT-Creation-Date: 2019-02-17 11:58+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1100,6 +1100,18 @@ msgstr[1] ""
msgid "_Revert"
msgstr ""

#: ../pluma/pluma-commands-help.c:69
msgid "MATE Documentation Team"
msgstr ""

#: ../pluma/pluma-commands-help.c:70
msgid "GNOME Documentation Team"
msgstr ""

#: ../pluma/pluma-commands-help.c:71
msgid "Sun Microsystems"
msgstr ""

#: ../pluma/pluma-commands-help.c:76
msgid "Pluma is a small and lightweight text editor for the MATE Desktop"
msgstr ""
@@ -1127,11 +1139,11 @@ msgid ""
"Street, Fifth Floor, Boston, MA 02110-1301 USA"
msgstr ""

#: ../pluma/pluma-commands-help.c:100
#: ../pluma/pluma-commands-help.c:104
msgid "About Pluma"
msgstr ""

#: ../pluma/pluma-commands-help.c:103
#: ../pluma/pluma-commands-help.c:107
msgid ""
"Copyright © 1998-2000 Evan Lawrence, Alex Robert\n"
"Copyright © 2000-2002 Chema Celorio, Paolo Maggi\n"
@@ -1142,7 +1154,7 @@ msgid ""
"Copyright © 2012-2019 MATE developers"
msgstr ""

#: ../pluma/pluma-commands-help.c:113
#: ../pluma/pluma-commands-help.c:117
msgid "translator-credits"
msgstr ""

@@ -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"),

0 comments on commit 1d86958

Please sign in to comment.
You can’t perform that action at this time.