summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-multiwan/luasrc/controller/multiwan.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-multiwan/luasrc/controller/multiwan.lua')
-rw-r--r--applications/luci-multiwan/luasrc/controller/multiwan.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/applications/luci-multiwan/luasrc/controller/multiwan.lua b/applications/luci-multiwan/luasrc/controller/multiwan.lua
index 561747b0f..2a45c5f7b 100644
--- a/applications/luci-multiwan/luasrc/controller/multiwan.lua
+++ b/applications/luci-multiwan/luasrc/controller/multiwan.lua
@@ -1,18 +1,18 @@
module("luci.controller.multiwan", package.seeall)
function index()
- local fs = luci.fs or nixio.fs
- if not fs.access("/etc/config/multiwan") then
+ local fs = luci.fs or nixio.fs
+ if not fs.access("/etc/config/multiwan") then
return
end
-
- local page = entry({"admin", "network", "multiwan"}, cbi("multiwan/multiwan"), "Multi-WAN")
- page.i18n = "multiwan"
- page.dependent = true
- local page = entry({"mini", "network", "multiwan"}, cbi("multiwan/multiwanmini", {autoapply=true}), "Multi-WAN")
- page.i18n = "multiwan"
- page.dependent = true
+ local page
+ page = entry({"admin", "network", "multiwan"}, cbi("multiwan/multiwan"), _("Multi-WAN"))
+ page.i18n = "multiwan"
+ page.dependent = true
+ page = entry({"mini", "network", "multiwan"}, cbi("multiwan/multiwanmini", {autoapply=true}), _("Multi-WAN"))
+ page.i18n = "multiwan"
+ page.dependent = true
end