summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-01-13 20:07:41 +0100
committerGravatar Martin Szulecki2010-01-13 20:16:41 +0100
commitc9b0721d65834ab6cf22453c39d6b9e97bd9db25 (patch)
treed918a9fcc483cd3e841e3cb5d9bb2a985ed33f42 /src
parent54e6e148642558b532b2d3ec704400229d1e6b50 (diff)
downloadsbmanager-c9b0721d65834ab6cf22453c39d6b9e97bd9db25.tar.gz
sbmanager-c9b0721d65834ab6cf22453c39d6b9e97bd9db25.tar.bz2
Added i18n support plus German translation.
Diffstat (limited to 'src')
-rw-r--r--src/sbmanager.c6
1 files changed, 5 insertions, 1 deletions
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 <config.h> /* for GETTEXT_PACKAGE */
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -32,6 +35,7 @@
#include <time.h>
#include <sys/time.h>
#include <glib.h>
+#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <clutter/clutter.h>
@@ -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);