diff options
author | rbuj <[email protected]> | 2019-04-11 13:28:50 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-04-11 22:51:47 +0200 |
commit | 2a46f460b54a90c1c27c17f29558a6482b4354e9 (patch) | |
tree | 2b1887b83c7cc065c4f15679915f4df6ed4770b9 /src | |
parent | b43df579b7d281b11da754e245fab01bbf3ac800 (diff) | |
download | mate-terminal-2a46f460b54a90c1c27c17f29558a6482b4354e9.tar.bz2 mate-terminal-2a46f460b54a90c1c27c17f29558a6482b4354e9.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal-window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c index 93f62a1..4e268e5 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -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, |