forked from enlightenment/enlightenment
ensure restart always occurs after language change
SVN revision: 79947
This commit is contained in:
parent
21c5355c18
commit
43be5378b6
|
@ -941,7 +941,11 @@ _lc_check(void)
|
||||||
if (getenv("LC_MESSAGES")) strcat(buf2, "<br>LC_MESSAGES");
|
if (getenv("LC_MESSAGES")) strcat(buf2, "<br>LC_MESSAGES");
|
||||||
if (getenv("LC_ALL")) strcat(buf2, "<br>LC_ALL");
|
if (getenv("LC_ALL")) strcat(buf2, "<br>LC_ALL");
|
||||||
|
|
||||||
if (!buf2[0]) return;
|
if (!buf2[0])
|
||||||
|
{
|
||||||
|
_lc_check_del(NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), _("You have some extra locale environment<br>"
|
snprintf(buf, sizeof(buf), _("You have some extra locale environment<br>"
|
||||||
"variables set that may interfere with<br>"
|
"variables set that may interfere with<br>"
|
||||||
|
|
Loading…
Reference in New Issue