Update lang_manager.py (Sync Ver.200626)

This commit is contained in:
hi80482 2020-07-03 17:33:52 +08:00 committed by GitHub
parent 9aede245f2
commit 457db4ad44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,15 +31,16 @@ class LangManager(object):
self.SetLangs()
def IsCJKMode(self):## in MultiLabel, latins seped by white spaces,CJK no needs for that
latins = ["English"]
self._CJKMode = True
# latins = ["English"]
# self._CJKMode = True
for i in latins:
if i in self._ConfigFileName:
self._CJKMode= False
break
# for i in latins:
# if i in self._ConfigFileName:
# self._CJKMode= False
# break
return self._CJKMode
# return self._CJKMode
return False
def SetLangs(self):
self._Config = CaseConfigParser()