summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-04-28 09:40:52 -0400
committerShaun McCance <shaunm@gnome.org>2011-04-28 09:40:52 -0400
commitb2d172d904c1cbd67ac227241d9e15caba2c866f (patch)
tree6b37e60e3cc9417e716b0d1f21d10bdd919652e1
parenta1e49faa0b4873c3f3c5b949ebe96186dc2e2813 (diff)
downloadyelp-b2d172d904c1cbd67ac227241d9e15caba2c866f.tar.gz
Fix untranslated UI elements, bug #648840
-rw-r--r--src/yelp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yelp.c b/src/yelp.c
index e5726aac..5c37b2a7 100644
--- a/src/yelp.c
+++ b/src/yelp.c
@@ -38,6 +38,11 @@ main (int argc, char **argv)
g_thread_init (NULL);
g_type_init ();
+ setlocale (LC_ALL, "");
+ textdomain (GETTEXT_PACKAGE);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+
app = yelp_application_new ();
return g_application_run (G_APPLICATION (app), argc, argv);