Mercurial > pidgin
comparison console/gntgaim.c @ 15036:1c4d0d3f4f5f
[gaim-migrate @ 17819]
i18n support for gaim-text
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 25 Nov 2006 17:49:23 +0000 |
parents | 78cab68de463 |
children | d720141d70a2 |
comparison
equal
deleted
inserted
replaced
15035:78cab68de463 | 15036:1c4d0d3f4f5f |
---|---|
261 {0, 0, 0, 0} | 261 {0, 0, 0, 0} |
262 }; | 262 }; |
263 | 263 |
264 gaim_br_set_locate_fallback_func(gnt_find_binary_location, argv[0]); | 264 gaim_br_set_locate_fallback_func(gnt_find_binary_location, argv[0]); |
265 | 265 |
266 #ifdef ENABLE_NLS | |
267 bindtextdomain(PACKAGE, LOCALEDIR); | |
268 bind_textdomain_codeset(PACKAGE, "UTF-8"); | |
269 textdomain(PACKAGE); | |
270 #endif | |
271 | |
272 #ifdef HAVE_SETLOCALE | |
273 setlocale(LC_ALL, ""); | |
274 #endif | |
275 | |
266 /* scan command-line options */ | 276 /* scan command-line options */ |
267 opterr = 1; | 277 opterr = 1; |
268 while ((opt = getopt_long(argc, argv, | 278 while ((opt = getopt_long(argc, argv, |
269 #ifndef _WIN32 | 279 #ifndef _WIN32 |
270 "c:dhn::s:v", | 280 "c:dhn::s:v", |