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)) {
|
switch (igetparam(b, lang)) {
|
||||||
case P_LOCALE:
|
case P_LOCALE:
|
||||||
s = getstrtoken();
|
s = getstrtoken();
|
||||||
#define LOCALES
|
#undef LOCALE_CHANGE
|
||||||
#ifdef LOCALES
|
#ifdef LOCALE_CHANGE
|
||||||
if (f && find_locale(s)) {
|
if (f && find_locale(s)) {
|
||||||
f->locale = find_locale(s);
|
f->locale = find_locale(s);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
if(strcmp(s, "de") == 0) {
|
|
||||||
f->locale = find_locale(s);
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
b = getbuf(F);
|
b = getbuf(F);
|
||||||
|
|
Loading…
Reference in New Issue