mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 09:29:24 +01:00
Remove unnecessary call to i18n.reloadLocalesIfRequired.
This commit is contained in:
parent
3e35113e02
commit
6a8b7889ea
@ -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