Mercurial > pidgin.yaz
changeset 15037: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 | 931644bcd74f |
files | console/gntgaim.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/console/gntgaim.c Sat Nov 25 16:47:23 2006 +0000 +++ b/console/gntgaim.c Sat Nov 25 17:49:23 2006 +0000 @@ -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,