From: Tom Hacohen Date: Sun, 21 Aug 2011 08:29:15 +0000 (+0000) Subject: E conf_intl: Update checking for bad LC_* check. X-Git-Tag: submit/efl/20131021.015651~5735 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f196fd9d6514ef5cda82f3371f949134907d45a2;p=platform%2Fupstream%2Fenlightenment.git 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 --- diff --git a/src/modules/conf_intl/e_int_config_intl.c b/src/modules/conf_intl/e_int_config_intl.c index 9f3db5d..89fc64b 100644 --- a/src/modules/conf_intl/e_int_config_intl.c +++ b/src/modules/conf_intl/e_int_config_intl.c @@ -863,12 +863,13 @@ _lc_check(void) buf[0] = 0; - if (getenv("LC_COLLATE")) strcat(buf, "LC_COLLATE
"); if (getenv("LC_CTYPE")) strcat(buf, "LC_CTYPE
"); - if (getenv("LC_MESSAGES")) strcat(buf, "LC_MESSAGES
"); - if (getenv("LC_MONETARY")) strcat(buf, "LC_MONETARY
"); if (getenv("LC_NUMERIC")) strcat(buf, "LC_NUMERIC
"); if (getenv("LC_TIME")) strcat(buf, "LC_TIME
"); + if (getenv("LC_COLLATE")) strcat(buf, "LC_COLLATE
"); + if (getenv("LC_MONETARY")) strcat(buf, "LC_MONETARY
"); + if (getenv("LC_MESSAGES")) strcat(buf, "LC_MESSAGES
"); + if (getenv("LC_ALL")) strcat(buf, "LC_ALL
"); if (buf[0] != 0) e_util_dialog_show(_("Possible Locale problems"),