mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 20:22:45 +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']
|
||||
except KeyError:
|
||||
pass
|
||||
else:
|
||||
reloadLocales()
|
||||
|
||||
def import_conf():
|
||||
"""Imports the conf into this module"""
|
||||
|
Loading…
Reference in New Issue
Block a user