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-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua | |
parent | a8ac3b344f5dee7a79455faa0c699e561464cf4d (diff) |
applications, modules: remove i18n handling from controller modules as it moved to the themes now
Diffstat (limited to 'applications/luci-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua')
-rw-r--r-- | applications/luci-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/applications/luci-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua b/applications/luci-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua index 32c9c0ba4e..e8aca9ce57 100644 --- a/applications/luci-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua +++ b/applications/luci-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua @@ -10,14 +10,9 @@ You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- - module "luci.controller.freifunk.policy-routing" function index() - require("luci.i18n").loadc("freifunk-policyrouting") - local i18n = luci.i18n.translate - - entry({"admin", "freifunk", "policyrouting"}, cbi("freifunk/policyrouting"), i18n("Policy Routing"), 60) + entry({"admin", "freifunk", "policyrouting"}, cbi("freifunk/policyrouting"), + _("Policy Routing"), 60).i18n = "freifunk-policyrouting" end - - |