diff options
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 32c9c0ba4..e8aca9ce5 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 - - |