From 1db7d2a9963e990cc0bf8a7038f74fdb63e0b3b0 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 16 Feb 2019 23:22:06 +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 --- applets/clock/clock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'applets/clock/clock.c') diff --git a/applets/clock/clock.c b/applets/clock/clock.c index 8b60341e..b752099a 100644 --- a/applets/clock/clock.c +++ b/applets/clock/clock.c @@ -3293,6 +3293,7 @@ static void display_about_dialog(GtkAction* action, ClockData* cd) gtk_show_about_dialog(NULL, "program-name", _("Clock"), + "title", _("About Clock"), "authors", authors, "comments", _("The Clock displays the current time and date"), "copyright", _("Copyright \xc2\xa9 1998-2004 Free Software Foundation, Inc.\n" -- cgit v1.2.1