Skip to content


Browse files Browse the repository at this point in the history
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
  • Loading branch information
rbuj authored and raveit65 committed Feb 16, 2019
1 parent acd6123 commit 2eec5c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/callbacks.cpp
Expand Up @@ -201,6 +201,7 @@ cb_about (GtkAction *action, gpointer data)
gtk_show_about_dialog (
GTK_WINDOW (procdata->app),
"name", _("System Monitor"),
"title", _("About System Monitor"),
"comments", _("View current processes and monitor system state"),
"version", VERSION,
"copyright", _("Copyright \xc2\xa9 2001-2004 Kevin Vandersloot\n"
Expand Down

0 comments on commit 2eec5c4

Please sign in to comment.