Remove unnecessary call to i18n.reloadLocalesIfRequired.

This commit is contained in:
Valentin Lorentz 2014-01-21 16:36:45 +01:00
parent 3af1e3f42d
commit 35c7b52e14

View File

@ -243,7 +243,6 @@ class _PluginInternationalization:
return untranslated._original return untranslated._original
escapedUntranslated = self._unescape(untranslated, True) escapedUntranslated = self._unescape(untranslated, True)
untranslated = self._unescape(untranslated, False) untranslated = self._unescape(untranslated, False)
reloadLocalesIfRequired()
try: try:
string = self._translate(escapedUntranslated) string = self._translate(escapedUntranslated)
return self._addTracker(string, untranslated) return self._addTracker(string, untranslated)