[i18n] Fix load_libintl error
Fixed libintl being undefined if no library was found
This commit is contained in:
@ -114,6 +114,7 @@ def setup_translation():
|
||||
|
||||
def load_libintl(libintls):
|
||||
errors = []
|
||||
libintl = None
|
||||
for library in libintls:
|
||||
try:
|
||||
libintl = ctypes.cdll.LoadLibrary(library)
|
||||
|
Reference in New Issue
Block a user