From 5b153a6130de6b905b73b9e1a23b3922c929a0a7 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 13 Mar 2019 11:56:39 +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 --- mateweather/mateweather-about.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mateweather/mateweather-about.c') diff --git a/mateweather/mateweather-about.c b/mateweather/mateweather-about.c index 42beb87c..eed30198 100644 --- a/mateweather/mateweather-about.c +++ b/mateweather/mateweather-about.c @@ -48,6 +48,7 @@ void mateweather_about_run(MateWeatherApplet* gw_applet) }; gtk_show_about_dialog(NULL, + "title", _("About Weather Report"), "version", VERSION, "copyright", copyright, "comments", _("A panel application for monitoring local weather conditions."), -- cgit v1.2.1