Skip to content

Commit 119fd7e

Browse files
rbujraveit65
authored andcommitted
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
1 parent 941b0ec commit 119fd7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/eom-window.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,6 +2581,7 @@ eom_window_cmd_about (GtkAction *action, gpointer user_data)
25812581

25822582
gtk_show_about_dialog (GTK_WINDOW (window),
25832583
"program-name", _("Eye of MATE"),
2584+
"title", _("About Eye of MATE"),
25842585
"version", VERSION,
25852586
"copyright", _("Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"
25862587
"Copyright \xc2\xa9 2011 Perberos\n"

0 commit comments

Comments
 (0)