mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +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:
|
||||
return self.default.__getitem__(item)
|
||||
else:
|
||||
raise
|
||||
return item
|
||||
|
||||
def get(self, *args, **kwargs):
|
||||
res = self.current.get(args[0])
|
||||
|
||||
Reference in New Issue
Block a user