diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 13:16:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-08-12 13:16:27 +0000 |
commit | 1d76d8a2158ec397322e54da0b6ad3ca4cadb621 (patch) | |
tree | 4c4044d2ca009fa88c154379e439bb2dc784b3a4 /applications/luci-multiwan/luasrc/controller | |
parent | a8ac3b344f5dee7a79455faa0c699e561464cf4d (diff) |
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'applications/luci-multiwan/luasrc/controller')
-rw-r--r-- | applications/luci-multiwan/luasrc/controller/multiwan.lua | 18 |
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 561747b0f6..2a45c5f7bc 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 |