applications/luci-firewall: fix translation loading
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Nov 2010 02:16:14 +0000 (02:16 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 17 Nov 2010 02:16:14 +0000 (02:16 +0000)
applications/luci-firewall/luasrc/controller/luci_fw/luci_fw.lua

index 38670d3582f7b49fbf45b765397c2d9518871317..5dd84bc90d78722c0335aabdb9e620f0324434ba 100644 (file)
@@ -4,10 +4,10 @@ function index()
        require("luci.i18n").loadc("luci-fw")
        local i18n = luci.i18n.translate
 
-       entry({"admin", "network", "firewall"}, alias("admin", "network", "firewall", "zones"), i18n("Firewall"), 60).i18n = "luci-fw"
+       entry({"admin", "network", "firewall"}, alias("admin", "network", "firewall", "zones"), i18n("Firewall"), 60).i18n = "firewall"
        entry({"admin", "network", "firewall", "zones"}, arcombine(cbi("luci_fw/zones"), cbi("luci_fw/zone")), nil, 10).leaf = true
        entry({"admin", "network", "firewall", "rule"}, arcombine(cbi("luci_fw/zones"), cbi("luci_fw/trule")), nil, 20).leaf = true
        entry({"admin", "network", "firewall", "redirect"}, arcombine(cbi("luci_fw/zones"), cbi("luci_fw/rrule")), nil, 30).leaf = true
 
-       entry({"mini", "network", "portfw"}, cbi("luci_fw/miniportfw", {autoapply=true}), i18n("Port forwarding"), 70).i18n = "luci-fw"
+       entry({"mini", "network", "portfw"}, cbi("luci_fw/miniportfw", {autoapply=true}), i18n("Port forwarding"), 70).i18n = "firewall"
 end