* luci/core: cbi.lua: fix auto-i18n for values inside typed sections
This commit is contained in:
parent
e95d152b3d
commit
c660416989
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ function AbstractSection.option(self, class, option, ...)
|
||||||
if instanceof(class, AbstractValue) then
|
if instanceof(class, AbstractValue) then
|
||||||
local obj = class(self.map, option, ...)
|
local obj = class(self.map, option, ...)
|
||||||
|
|
||||||
Node._i18n(obj, self.config, self.section, option, ...)
|
Node._i18n(obj, self.config, self.section or self.sectiontype, option, ...)
|
||||||
|
|
||||||
self:append(obj)
|
self:append(obj)
|
||||||
return obj
|
return obj
|
||||||
|
|
Loading…
Reference in a new issue