From: <nos...@us...> - 2006-11-25 17:49:25
|
Revision: 17819 http://svn.sourceforge.net/gaim/?rev=17819&view=rev Author: nosnilmot Date: 2006-11-25 09:49:23 -0800 (Sat, 25 Nov 2006) Log Message: ----------- i18n support for gaim-text Modified Paths: -------------- trunk/console/gntgaim.c Modified: trunk/console/gntgaim.c =================================================================== --- trunk/console/gntgaim.c 2006-11-25 16:47:23 UTC (rev 17818) +++ trunk/console/gntgaim.c 2006-11-25 17:49:23 UTC (rev 17819) @@ -263,6 +263,16 @@ gaim_br_set_locate_fallback_func(gnt_find_binary_location, argv[0]); +#ifdef ENABLE_NLS + bindtextdomain(PACKAGE, LOCALEDIR); + bind_textdomain_codeset(PACKAGE, "UTF-8"); + textdomain(PACKAGE); +#endif + +#ifdef HAVE_SETLOCALE + setlocale(LC_ALL, ""); +#endif + /* scan command-line options */ opterr = 1; while ((opt = getopt_long(argc, argv, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |