diff options
author | 2010-05-17 21:35:50 +0200 | |
---|---|---|
committer | 2010-05-17 21:35:50 +0200 | |
commit | 6503bfc06a0ae71c69667bef04df47603b789c1a (patch) | |
tree | 1b4ec192e76faee4ded0893f4c9a5cc61a6b094e /plugins/gtkui/callbacks.c | |
parent | cafa41031499e9dff3a0c4f9f30d822c981d0ce2 (diff) |
localization updates
Diffstat (limited to 'plugins/gtkui/callbacks.c')
-rw-r--r-- | plugins/gtkui/callbacks.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/gtkui/callbacks.c b/plugins/gtkui/callbacks.c index 4d967bc7..81183a66 100644 --- a/plugins/gtkui/callbacks.c +++ b/plugins/gtkui/callbacks.c @@ -661,7 +661,7 @@ void on_help1_activate (GtkMenuItem *menuitem, gpointer user_data) { - show_info_window (DOCDIR "/help.txt", "Help", &helpwindow); + show_info_window (DOCDIR "/help.txt", _("Help"), &helpwindow); } static GtkWidget *aboutwindow; @@ -670,7 +670,9 @@ void on_about1_activate (GtkMenuItem *menuitem, gpointer user_data) { - show_info_window (DOCDIR "/about.txt", "About DeaDBeeF " VERSION, &aboutwindow); + char s[200]; + snprintf (s, sizeof (s), _("About DeaDBeeF %s"), VERSION); + show_info_window (DOCDIR "/about.txt", s, &aboutwindow); } static GtkWidget *changelogwindow; @@ -679,7 +681,9 @@ void on_changelog1_activate (GtkMenuItem *menuitem, gpointer user_data) { - show_info_window (DOCDIR "/ChangeLog", "DeaDBeeF " VERSION " ChangeLog", &changelogwindow); + char s[200]; + snprintf (s, sizeof (s), _("DeaDBeeF %s ChangeLog"), VERSION); + show_info_window (DOCDIR "/ChangeLog", s, &changelogwindow); } static GtkWidget *gplwindow; |