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
parent
b43df579b7
commit
2a46f460b5
|
@ -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 2002–2004 Havoc Pennington\n"
|
||||
"Copyright \xc2\xa9 2003–2004, 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,
|
||||
|
|
Loading…
Reference in New Issue