From c9b0721d65834ab6cf22453c39d6b9e97bd9db25 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Wed, 13 Jan 2010 20:07:41 +0100 Subject: Added i18n support plus German translation. --- src/sbmanager.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sbmanager.c b/src/sbmanager.c index c6c4a6e..d3794da 100644 --- a/src/sbmanager.c +++ b/src/sbmanager.c @@ -22,6 +22,9 @@ * USA */ +#ifdef HAVE_CONFIG_H + #include /* for GETTEXT_PACKAGE */ +#endif #include #include #include @@ -32,6 +35,7 @@ #include #include #include +#include #include #include @@ -1330,7 +1334,7 @@ static void gui_init(SBManagerApp* app) gtk_container_add(GTK_CONTAINER(app->window), vbox); gtk_widget_show(vbox); - GtkWidget *button = gtk_button_new_with_label("Upload changes to device"); + GtkWidget *button = gtk_button_new_with_label(_("Upload changes to device")); gtk_box_pack_end(GTK_BOX(vbox), button, FALSE, FALSE, 0); g_signal_connect(button, "clicked", G_CALLBACK(button_clicked_cb), app); gtk_widget_show(button); -- cgit v1.1-32-gdbae