Ensure proper translation of the about dialog title

Note that GTK+ sets a default title of _("About %s") on the dialog
window (where %s is replaced by the name of the application, but
in order to ensure proper translation of the title, applications
should set the title property explicitly when constructing a
GtkAboutDialog

https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
rbuj 2019-04-11 13:28:50 +02:00 committed by raveit65
parent b43df579b7
commit 2a46f460b5
1 changed files with 2 additions and 1 deletions

View File

@ -4384,6 +4384,8 @@ help_about_callback (GtkAction *action,
gtk_show_about_dialog (GTK_WINDOW (window),
"program-name", _("MATE Terminal"),
"version", VERSION,
"title", _("About MATE Terminal"),
"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"
@ -4391,7 +4393,6 @@ help_about_callback (GtkAction *action,
"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,
"artists", artists,
"documenters", documenters,