summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-multiwan/luasrc/controller/multiwan.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-12 13:16:27 +0000
commit1d76d8a2158ec397322e54da0b6ad3ca4cadb621 (patch)
tree4c4044d2ca009fa88c154379e439bb2dc784b3a4 /applications/luci-multiwan/luasrc/controller/multiwan.lua
parenta8ac3b344f5dee7a79455faa0c699e561464cf4d (diff)
applications, modules: remove i18n handling from controller modules as it moved to the themes now
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