[fix] language/locale settings

This commit is contained in:
asciimoo 2014-02-07 01:52:38 +01:00
parent f808de2001
commit d63135db61

View file

@ -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)