Quit set_locale function if translation file doesn't exists
This commit is contained in:
parent
f9aaf65d44
commit
1fc694e889
@ -125,6 +125,7 @@ class ManjaroHello():
|
||||
tr.install()
|
||||
except OSError:
|
||||
print("WARNING: No translation file for '{}' locale".format(locale))
|
||||
return
|
||||
|
||||
# Dirty code to fix an issue with gettext that can't translate strings from glade files
|
||||
# Redfining all translatables strings
|
||||
|
Loading…
Reference in New Issue
Block a user