[translation] not raising an error when a i18n key is not found

This commit is contained in:
Vinícius Moreira
2019-12-13 17:52:12 -03:00
parent bf67617102
commit 07b232def9

View File

@@ -19,7 +19,7 @@ class I18n(dict):
if self.default:
return self.default.__getitem__(item)
else:
raise
return item
def get(self, *args, **kwargs):
res = self.current.get(args[0])