From f196fd9d6514ef5cda82f3371f949134907d45a2 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 21 Aug 2011 08:29:15 +0000 Subject: [PATCH] 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 --- src/modules/conf_intl/e_int_config_intl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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"), -- 2.7.4