mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fix handling of PluginNotFoundException in i18n.
This commit is contained in:
parent
2363c404b4
commit
097ea23dfc
@ -159,7 +159,7 @@ class _PluginInternationalization:
|
|||||||
translationFile = open(getLocalePath(self.name,
|
translationFile = open(getLocalePath(self.name,
|
||||||
localeName, 'po'), 'r')
|
localeName, 'po'), 'r')
|
||||||
self._parse(translationFile)
|
self._parse(translationFile)
|
||||||
except IOError, PluginNotFound: # The translation is unavailable
|
except (IOError, PluginNotFound): # The translation is unavailable
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def _parse(self, translationFile):
|
def _parse(self, translationFile):
|
||||||
|
Loading…
Reference in New Issue
Block a user