forked from enlightenment/enlightenment
E conf_intl: Update checking for bad LC_* check.
It now also checks for LC_ALL. Also, I changed the order to be like the output of "locale". SVN revision: 62651
This commit is contained in:
parent
4d689f02a1
commit
f196fd9d65
|
@ -863,12 +863,13 @@ _lc_check(void)
|
||||||
|
|
||||||
buf[0] = 0;
|
buf[0] = 0;
|
||||||
|
|
||||||
if (getenv("LC_COLLATE")) strcat(buf, "LC_COLLATE<br>");
|
|
||||||
if (getenv("LC_CTYPE")) strcat(buf, "LC_CTYPE<br>");
|
if (getenv("LC_CTYPE")) strcat(buf, "LC_CTYPE<br>");
|
||||||
if (getenv("LC_MESSAGES")) strcat(buf, "LC_MESSAGES<br>");
|
|
||||||
if (getenv("LC_MONETARY")) strcat(buf, "LC_MONETARY<br>");
|
|
||||||
if (getenv("LC_NUMERIC")) strcat(buf, "LC_NUMERIC<br>");
|
if (getenv("LC_NUMERIC")) strcat(buf, "LC_NUMERIC<br>");
|
||||||
if (getenv("LC_TIME")) strcat(buf, "LC_TIME<br>");
|
if (getenv("LC_TIME")) strcat(buf, "LC_TIME<br>");
|
||||||
|
if (getenv("LC_COLLATE")) strcat(buf, "LC_COLLATE<br>");
|
||||||
|
if (getenv("LC_MONETARY")) strcat(buf, "LC_MONETARY<br>");
|
||||||
|
if (getenv("LC_MESSAGES")) strcat(buf, "LC_MESSAGES<br>");
|
||||||
|
if (getenv("LC_ALL")) strcat(buf, "LC_ALL<br>");
|
||||||
|
|
||||||
if (buf[0] != 0)
|
if (buf[0] != 0)
|
||||||
e_util_dialog_show(_("Possible Locale problems"),
|
e_util_dialog_show(_("Possible Locale problems"),
|
||||||
|
|
Loading…
Reference in New Issue