mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Remove unnecessary call to i18n.reloadLocalesIfRequired.
This commit is contained in:
parent
3af1e3f42d
commit
35c7b52e14
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user