mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Reset translation dict when reloading a locale.
This commit is contained in:
parent
30c56ae19f
commit
989c674c58
@ -143,6 +143,7 @@ class _PluginInternationalization:
|
||||
|
||||
def loadLocale(self, localeName=None):
|
||||
"""(Re)loads the locale used by this class."""
|
||||
self.translations = {}
|
||||
if localeName is None:
|
||||
localeName = currentLocale
|
||||
self.currentLocaleName = localeName
|
||||
|
Loading…
Reference in New Issue
Block a user