mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 13:14:17 +02:00
[translation] not raising an error when a i18n key is not found
This commit is contained in:
@@ -19,7 +19,7 @@ class I18n(dict):
|
|||||||
if self.default:
|
if self.default:
|
||||||
return self.default.__getitem__(item)
|
return self.default.__getitem__(item)
|
||||||
else:
|
else:
|
||||||
raise
|
return item
|
||||||
|
|
||||||
def get(self, *args, **kwargs):
|
def get(self, *args, **kwargs):
|
||||||
res = self.current.get(args[0])
|
res = self.current.get(args[0])
|
||||||
|
|||||||
Reference in New Issue
Block a user