mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-26 12:43:09 +01:00
Make getLocaleFromRegistryCache reload existing locales.
The core locale is loaded before this function is called, so it needs to reload it for non-en locales to be loaded.
This commit is contained in:
parent
63b0d7e653
commit
a1ee580d08
@ -61,6 +61,8 @@ def getLocaleFromRegistryCache():
|
|||||||
currentLocale = registry._cache['supybot.language']
|
currentLocale = registry._cache['supybot.language']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
|
reloadLocales()
|
||||||
|
|
||||||
def import_conf():
|
def import_conf():
|
||||||
"""Imports the conf into this module"""
|
"""Imports the conf into this module"""
|
||||||
|
Loading…
Reference in New Issue
Block a user