[utils] Remove a redundant check in I18N
This commit is contained in:
parent
8a54fa704f
commit
7bdc9cc044
@ -2539,7 +2539,6 @@ class I18N(object):
|
||||
if t is not None:
|
||||
return t
|
||||
|
||||
if t is None:
|
||||
for root in get_root_dirs():
|
||||
try:
|
||||
t = gettext.translation(self.domain, os.path.join(root, 'share', 'locale'), [lang])
|
||||
|
Loading…
x
Reference in New Issue
Block a user