qmodem: fix modem status translate
This commit is contained in:
parent
767e387765
commit
7079e5a3d2
@ -44,8 +44,7 @@ end
|
||||
|
||||
o = s:option(DummyValue, "state", translate("Modem Status"))
|
||||
o.cfgvalue = function(t, n)
|
||||
local name = translate(Value.cfgvalue(t, n) or "")
|
||||
return name:upper()
|
||||
return translate(Value.cfgvalue(t, n):upper() or "-")
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user