diff options
author | rbuj <[email protected]> | 2019-02-16 09:49:37 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-02-16 16:48:57 +0100 |
commit | 119fd7ea371f8ea13222f17ec3cb95662e923ff5 (patch) | |
tree | a46053d110978a49de7865ce1ab176460e3cfd30 | |
parent | 941b0ec7f24591c61ef2376c5ac7d0446157cff2 (diff) | |
download | eom-119fd7ea371f8ea13222f17ec3cb95662e923ff5.tar.bz2 eom-119fd7ea371f8ea13222f17ec3cb95662e923ff5.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
-rw-r--r-- | src/eom-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eom-window.c b/src/eom-window.c index e389e0a..bc5ca59 100644 --- a/src/eom-window.c +++ b/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" |