Always use LC_CTYPE to determine the locale for fontsets, not LC_MESSAGES;
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE to determine the locale for fontsets, not LC_MESSAGES; the user may want English messages with a handling for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR will still be broken)
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
|
||||
to determine the locale for fontsets, not LC_MESSAGES;
|
||||
the user may want English messages with a handling
|
||||
for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
|
||||
will still be broken)
|
||||
|
||||
Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
|
||||
to determine the locale for fontsets, not LC_MESSAGES;
|
||||
the user may want English messages with a handling
|
||||
for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
|
||||
will still be broken)
|
||||
|
||||
Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
|
||||
to determine the locale for fontsets, not LC_MESSAGES;
|
||||
the user may want English messages with a handling
|
||||
for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
|
||||
will still be broken)
|
||||
|
||||
Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
|
||||
to determine the locale for fontsets, not LC_MESSAGES;
|
||||
the user may want English messages with a handling
|
||||
for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
|
||||
will still be broken)
|
||||
|
||||
Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
|
||||
to determine the locale for fontsets, not LC_MESSAGES;
|
||||
the user may want English messages with a handling
|
||||
for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
|
||||
will still be broken)
|
||||
|
||||
Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
|
||||
to determine the locale for fontsets, not LC_MESSAGES;
|
||||
the user may want English messages with a handling
|
||||
for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
|
||||
will still be broken)
|
||||
|
||||
Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
Tue Oct 19 09:46:49 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkrc.c (gtk_rc_init): Always use LC_CTYPE
|
||||
to determine the locale for fontsets, not LC_MESSAGES;
|
||||
the user may want English messages with a handling
|
||||
for non-English languages. (LC_CTYPE=ru_RU LC_MESSAGES=fr_FR
|
||||
will still be broken)
|
||||
|
||||
Tue Oct 19 20:36:42 1999 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* gtk/gtkrc.ko: Fixed the wrong number of "*"'s.
|
||||
|
||||
@@ -450,11 +450,7 @@ gtk_rc_init (void)
|
||||
{
|
||||
gint length;
|
||||
|
||||
#if defined (HAVE_LC_MESSAGES) && !defined (X_LOCALE)
|
||||
char *locale = setlocale (LC_MESSAGES, NULL);
|
||||
#else
|
||||
char *locale = setlocale (LC_CTYPE, NULL);
|
||||
#endif
|
||||
char *p;
|
||||
|
||||
initted = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user