Remove unnecessary call to i18n.reloadLocalesIfRequired.

This commit is contained in:
Valentin Lorentz 2014-01-21 16:36:45 +01:00
parent 3e35113e02
commit 6a8b7889ea

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)