Skip to content
Permalink
Browse files

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
  • Loading branch information...
rbuj authored and raveit65 committed Feb 16, 2019
1 parent 941b0ec commit 119fd7ea371f8ea13222f17ec3cb95662e923ff5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/eom-window.c
@@ -2581,6 +2581,7 @@ eom_window_cmd_about (GtkAction *action, gpointer user_data)

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

0 comments on commit 119fd7e

Please sign in to comment.
You can’t perform that action at this time.