[Buoh-dev] CVS commit to /cvsroot/buoh/buoh/src by steve-0



CVS commit to /cvsroot/buoh/buoh/src by steve-0

Modified Files:
	main.c 
Log Message:
2005-11-10  Esteban Sanchez <esteban steve-o org>
        * src/main.c: Now it calls to bind_textdomain and
        bind_textdomain_codeset to allow translations.
        * data/comics.xml: Added userfriendly and Penny Arcade.
        * NEWS: Typo fixed

===================================================================
RCS file: /cvsroot/buoh/buoh/src/main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- /cvsroot/buoh/buoh/src/main.c	2005/09/20 15:59:41	1.8
+++ /cvsroot/buoh/buoh/src/main.c	2005/11/10 21:08:26	1.9
@@ -35,6 +35,13 @@
 {
 	Buoh *buoh;
 
+#ifdef ENABLE_NLS
+        /* Initialize the i18n stuff */
+        bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+        textdomain (GETTEXT_PACKAGE);
+#endif
+
 	gnome_program_init (PACKAGE, VERSION,
 			    LIBGNOMEUI_MODULE,
 			    argc, argv,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]