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
|
return this
|
||||||
end
|
end
|
||||||
|
|
||||||
local function Apply()
|
local function ApplyNewProps(Item,Props)
|
||||||
|
|
||||||
|
end
|
||||||
|
local function Apply(Item)
|
||||||
|
return function (Props)
|
||||||
|
ApplyNewProps(Item,Props)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
new.Apply = Apply
|
new.Apply = Apply
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -168,7 +168,7 @@ function module.init(shared)
|
||||||
if quadType == "quad_register" then
|
if quadType == "quad_register" then
|
||||||
local function regFn()
|
local function regFn()
|
||||||
-- update handler
|
-- update handler
|
||||||
handler = self.handlers[new.Lang]
|
handler = self.handlers[new.CurrentLocale]
|
||||||
if not handler then
|
if not handler then
|
||||||
handler = self.handlers[new.Locales.Default]
|
handler = self.handlers[new.Locales.Default]
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue