# HG changeset patch # User Stu Tomlinson # Date 1164476963 0 # Node ID 1c4d0d3f4f5faba9c3fc88bbd1b5e6aaddf60067 # Parent 78cab68de4633b0813f97b0c1939878156e4070b [gaim-migrate @ 17819] i18n support for gaim-text committer: Tailor Script diff -r 78cab68de463 -r 1c4d0d3f4f5f console/gntgaim.c --- 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,