bugfix
This commit is contained in:
parent
b555938e84
commit
91affcd3e4
@ -153,7 +153,8 @@ class MiniI18N:
|
|||||||
threadid = threading.currentThread()
|
threadid = threading.currentThread()
|
||||||
return self.clientLangs[threadid]['lang']
|
return self.clientLangs[threadid]['lang']
|
||||||
|
|
||||||
def getI18N(coding='utf8'):
|
def getI18N(path=None, coding='utf8'):
|
||||||
|
if path is None:
|
||||||
path = ProgramPath()
|
path = ProgramPath()
|
||||||
i18n = MiniI18N(path,coding)
|
i18n = MiniI18N(path,coding)
|
||||||
return i18n
|
return i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user