[yelp] Fix untranslated UI elements, bug #648840
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] Fix untranslated UI elements, bug #648840
- Date: Thu, 28 Apr 2011 13:34:55 +0000 (UTC)
commit b2d172d904c1cbd67ac227241d9e15caba2c866f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 28 09:40:52 2011 -0400
Fix untranslated UI elements, bug #648840
src/yelp.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/yelp.c b/src/yelp.c
index e5726aa..5c37b2a 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]