From 989c674c58b4526a54ff31686be54af50a967560 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 21 Dec 2012 19:19:03 +0100 Subject: [PATCH] Reset translation dict when reloading a locale. --- src/i18n.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i18n.py b/src/i18n.py index 67d9b1a3e..b960d67ac 100644 --- a/src/i18n.py +++ b/src/i18n.py @@ -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