mirror of
https://github.com/searxng/searxng.git
synced 2024-11-05 12:50:11 +01:00
[fix] language/locale settings
This commit is contained in:
parent
f808de2001
commit
d63135db61
@ -210,7 +210,6 @@ def preferences():
|
|||||||
elif pd_name == 'language' and (pd == 'all' or
|
elif pd_name == 'language' and (pd == 'all' or
|
||||||
pd in (x[0] for
|
pd in (x[0] for
|
||||||
x in language_codes)):
|
x in language_codes)):
|
||||||
locale = pd
|
|
||||||
lang = pd
|
lang = pd
|
||||||
elif pd_name.startswith('engine_'):
|
elif pd_name.startswith('engine_'):
|
||||||
engine_name = pd_name.replace('engine_', '', 1)
|
engine_name = pd_name.replace('engine_', '', 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user