summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-01-17 15:22:57 +0100
committerFlorian Eckert <fe@dev.tdt.de>2018-01-18 15:09:34 +0100
commitde1afe2a90450d68e2e2c368fd888520e4ac3f7d (patch)
tree158c4235652b1a394db9ae2f4488eefcb2ef7815 /applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
parent8014e21d6d10da4ce4376ca6daed7acc53882282 (diff)
luci-app-mwan3: remove some config parameter from rule overview table
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua')
-rw-r--r--applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
index 23a94a153..01f18dae4 100644
--- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
+++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
@@ -130,9 +130,9 @@ enabled = mwan_interface:option(DummyValue, "enabled", translate("Enabled"))
enabled.rawhtml = true
function enabled.cfgvalue(self, s)
if self.map:get(s, "enabled") == "1" then
- return "Yes"
+ return translate("Yes")
else
- return "No"
+ return translate("No")
end
end