forked from github/server
disabling the option to change locale
This commit is contained in:
parent
b78b840cdd
commit
83f516c306
|
@ -616,15 +616,11 @@ readorders(const char *filename)
|
|||
switch (igetparam(b, lang)) {
|
||||
case P_LOCALE:
|
||||
s = getstrtoken();
|
||||
#define LOCALES
|
||||
#ifdef LOCALES
|
||||
#undef LOCALE_CHANGE
|
||||
#ifdef LOCALE_CHANGE
|
||||
if (f && find_locale(s)) {
|
||||
f->locale = find_locale(s);
|
||||
}
|
||||
#else
|
||||
if(strcmp(s, "de") == 0) {
|
||||
f->locale = find_locale(s);
|
||||
}
|
||||
#endif
|
||||
|
||||
b = getbuf(F);
|
||||
|
|
Loading…
Reference in New Issue