mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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