Wrapping LC_MESSAGES
- From: "Timur I. Bakeyev" <gtk listserv bat ru>
- To: gtk-devel-list redhat com
- Subject: Wrapping LC_MESSAGES
- Date: Wed, 20 Jan 1999 22:19:27 +0300
patch was for the gtk/gtkrc.c and wrapped setlocale:
#ifdev HAVE_LC_MESSAGES
*locale = setlocale(LC_MESSAGES, NULL);
#else
*locale = setlocale (LC_ALL, NULL);
#endif
Reason - some systems doesn't have LC_MESSAGES still. Notably, this is
blamed BSDI. Assuming, that LC_ALL has proper localization is quite
reliable, so we can relay on it. Maybe, someone find, that LC_CTYPE is
much closer to LC_MESSAGES - please, reply.
--
With best regards, Timur Bakeyev.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]