fix: language error
This commit is contained in:
parent
049ee5b60a
commit
360aecc3a5
2 changed files with 7 additions and 2 deletions
|
|
@ -541,8 +541,13 @@ function module.init(shared)
|
|||
return this
|
||||
end
|
||||
|
||||
local function Apply()
|
||||
local function ApplyNewProps(Item,Props)
|
||||
|
||||
end
|
||||
local function Apply(Item)
|
||||
return function (Props)
|
||||
ApplyNewProps(Item,Props)
|
||||
end
|
||||
end
|
||||
new.Apply = Apply
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ function module.init(shared)
|
|||
if quadType == "quad_register" then
|
||||
local function regFn()
|
||||
-- update handler
|
||||
handler = self.handlers[new.Lang]
|
||||
handler = self.handlers[new.CurrentLocale]
|
||||
if not handler then
|
||||
handler = self.handlers[new.Locales.Default]
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue