1
1

* cmd.c (guess_message_value): Typo - replace "LC_MESSAGE" with

"LC_MESSAGES".
Этот коммит содержится в:
Pavel Roskin 2001-08-12 08:36:26 +00:00
родитель af4e2abdab
Коммит 76926ea622
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -1,5 +1,8 @@
2001-08-12 Pavel Roskin <proski@gnu.org> 2001-08-12 Pavel Roskin <proski@gnu.org>
* cmd.c (guess_message_value): Typo - replace "LC_MESSAGE" with
"LC_MESSAGES".
* dir.c (string_sortcomp) [HAVE_STRCOLL]: Always use strcmp() * dir.c (string_sortcomp) [HAVE_STRCOLL]: Always use strcmp()
for case sensitive sort. For case insensitive sort use for case sensitive sort. For case insensitive sort use
strcoll() if it's case insensitive for ASCII and g_strcasecmp() strcoll() if it's case insensitive for ASCII and g_strcasecmp()

Просмотреть файл

@ -1206,8 +1206,8 @@ void mkdir_panel_cmd (void)
mkdir_cmd (cpanel); mkdir_cmd (cpanel);
} }
/* partly taken from dcgettect.c, returns "" for C locale */ /* partly taken from dcigettext.c, returns "" for default locale */
/* value should be gfreed by calling function */ /* value should be freed by calling function g_free() */
char *guess_message_value (unsigned want_info) char *guess_message_value (unsigned want_info)
{ {
const char *var[] = { const char *var[] = {
@ -1217,7 +1217,7 @@ char *guess_message_value (unsigned want_info)
/* Setting of LC_ALL overwrites all other. */ /* Setting of LC_ALL overwrites all other. */
"LC_ALL", "LC_ALL",
/* Next comes the name of the desired category. */ /* Next comes the name of the desired category. */
"LC_MESSAGE", "LC_MESSAGES",
/* Last possibility is the LANG environment variable. */ /* Last possibility is the LANG environment variable. */
"LANG", "LANG",
/* NULL exit loops */ /* NULL exit loops */