summaryrefslogtreecommitdiff
path: root/src/tracker-applet
diff options
context:
space:
mode:
authorIvan Frade <ifrade@src.gnome.org>2008-12-29 13:40:39 +0000
committerIvan Frade <ifrade@src.gnome.org>2008-12-29 13:40:39 +0000
commit0c587d5e1ace0d6440295c80b79603743505c961 (patch)
tree67d1ed5d4ebd5fe6f02ec35abc08f0671be84990 /src/tracker-applet
parent303bc402be11b6ac48ab0b8d35d722cd76ea5b98 (diff)
downloadtracker-0c587d5e1ace0d6440295c80b79603743505c961.tar.gz
Fixed translation of --help output in tracker-applet. Fixed 565928
svn path=/trunk/; revision=2743
Diffstat (limited to 'src/tracker-applet')
-rw-r--r--src/tracker-applet/tracker-applet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tracker-applet/tracker-applet.c b/src/tracker-applet/tracker-applet.c
index 206269760..ab9445aea 100644
--- a/src/tracker-applet/tracker-applet.c
+++ b/src/tracker-applet/tracker-applet.c
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include <string.h>
#include <strings.h>
+#include <locale.h>
#include <glib.h>
#include <glib/gi18n.h>
@@ -2158,9 +2159,12 @@ main (int argc, char *argv[])
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ setlocale (LC_ALL, "");
+
context = g_option_context_new (_("- Tracker applet for quick control of "
"your desktop search tools"));
+ g_option_context_set_translation_domain(context, GETTEXT_PACKAGE);
g_option_context_add_main_entries (context, entries, NULL);
g_option_context_parse (context, &argc, &argv, NULL);
g_option_context_free (context);