From 119fd7ea371f8ea13222f17ec3cb95662e923ff5 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 16 Feb 2019 09:49:37 +0100 Subject: 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 --- src/eom-window.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/eom-window.c') 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" -- cgit v1.2.1