Make translatable the copyright info in about dialog

rbuj 2019-04-11 12:58:53 +02:00 committed by raveit65
parent a711e2e2c2
commit b43df579b7
1 changed files with 6 additions and 8 deletions

View File

@ -4330,13 +4330,6 @@ static void
help_about_callback (GtkAction *action,
TerminalWindow *window)
{
static const char copyright[] =
"Copyright © 20022004 Havoc Pennington\n"
"Copyright © 20032004, 2007 Mariano Suárez-Alvarez\n"
"Copyright © 2006 Guilherme de S. Pastore\n"
"Copyright © 20072010 Christian Persch\n"
"Copyright © 2011 Perberos\n"
"Copyright © 2012-2019 MATE developers";
char *licence_text;
GBytes *bytes;
const guint8 *data;
@ -4391,7 +4384,12 @@ help_about_callback (GtkAction *action,
gtk_show_about_dialog (GTK_WINDOW (window),
"program-name", _("MATE Terminal"),
"copyright", copyright,
"copyright", _("Copyright \xc2\xa9 20022004 Havoc Pennington\n"
"Copyright \xc2\xa9 20032004, 2007 Mariano Suárez-Alvarez\n"
"Copyright \xc2\xa9 2006 Guilherme de S. Pastore\n"
"Copyright \xc2\xa9 20072010 Christian Persch\n"
"Copyright \xc2\xa9 2011 Perberos\n"
"Copyright \xc2\xa9 2012-2019 MATE developers"),
"comments", _("A terminal emulator for the MATE desktop"),
"version", VERSION,
"authors", array_strv,