[gq-commit] gq/src gq.c,1.10,1.11
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2002-06-27 08:15:50
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv18021 Modified Files: gq.c Log Message: * Move setting of the LOCALEDIR to happen after codepage detection. Maybe this obsoletes the --with-localedir again. By doing this we hopefully trick gq in using the system default locale directory for codepage detection and the LOCALEDIR for message translation. Index: gq.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/gq.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** gq.c 18 Jun 2002 06:19:31 -0000 1.10 --- gq.c 27 Jun 2002 08:15:47 -0000 1.11 *************** *** 56,64 **** setlocale(LC_ALL, ""); textdomain(PACKAGE); - bindtextdomain(PACKAGE, LOCALEDIR); - /* I think the following will be required for gtk 2 (Isn't UTF-8 - the standard for widget texts there? - this will allow to have - the messages in UTF-8) */ - /* bind_textdomain_codeset(PACKAGE, LDAP_CODESET); */ # if HAVE_LANGINFO_CODESET --- 56,59 ---- *************** *** 77,80 **** --- 72,81 ---- # endif /* HAVE_LANGINFO_CODESET */ #endif + + bindtextdomain(PACKAGE, LOCALEDIR); + /* I think the following will be required for gtk 2 (Isn't UTF-8 + the standard for widget texts there? - this will allow to have + the messages in UTF-8) */ + /* bind_textdomain_codeset(PACKAGE, LDAP_CODESET); */ gtk_set_locale(); |