Under some systems (notably, BSDI), there is no LC_MESSAGES category in
Under some systems (notably, BSDI), there is no LC_MESSAGES category in locale.h. In this case it is good guess to relay on the value of LC_ALL (in fact, LC_CTYPE will be more precise).
This commit is contained in:
parent
6205bbbf65
commit
5ce6bea660
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
|
||||||
|
|
||||||
|
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
|
||||||
|
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
|
||||||
|
according to LC_ALL.
|
||||||
|
|
||||||
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
|
||||||
|
|
||||||
|
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
|
||||||
|
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
|
||||||
|
according to LC_ALL.
|
||||||
|
|
||||||
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
|
||||||
|
|
||||||
|
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
|
||||||
|
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
|
||||||
|
according to LC_ALL.
|
||||||
|
|
||||||
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
|
||||||
|
|
||||||
|
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
|
||||||
|
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
|
||||||
|
according to LC_ALL.
|
||||||
|
|
||||||
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
|
||||||
|
|
||||||
|
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
|
||||||
|
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
|
||||||
|
according to LC_ALL.
|
||||||
|
|
||||||
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
|
||||||
|
|
||||||
|
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
|
||||||
|
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
|
||||||
|
according to LC_ALL.
|
||||||
|
|
||||||
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Jan 20 21:07:45 1999 Timur Bakeyev <mc@bat.ru>
|
||||||
|
|
||||||
|
* gtk/gtkrc.c (gtk_rc_init): There are some systems, that lacks of
|
||||||
|
LC_MESSAGES in locale.h. As a last resort for such systems, set locale
|
||||||
|
according to LC_ALL.
|
||||||
|
|
||||||
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
Wed Jan 20 13:06:51 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
|
||||||
|
@ -380,7 +380,11 @@ gtk_rc_init (void)
|
|||||||
gchar *locale_suffixes[3];
|
gchar *locale_suffixes[3];
|
||||||
gint n_locale_suffixes = 0;
|
gint n_locale_suffixes = 0;
|
||||||
gint i, j;
|
gint i, j;
|
||||||
|
#ifdef HAVE_LC_MESSAGES
|
||||||
char *locale = setlocale (LC_MESSAGES, NULL);
|
char *locale = setlocale (LC_MESSAGES, NULL);
|
||||||
|
#else
|
||||||
|
char *locale = setlocale (LC_ALL, NULL);
|
||||||
|
#endif
|
||||||
guint length;
|
guint length;
|
||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user