summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-fw/luasrc/controller
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-08 15:36:57 +0000
committerSteven Barth <steven@midlink.org>2008-06-08 15:36:57 +0000
commit14438002a1df1e56564e19eec4726a077c0cfa0e (patch)
treed5421d802fb6479d75769bed3078220263824159 /applications/luci-fw/luasrc/controller
parent2d5110fcb4fe30c3923fb745146c6766d5dfbf9c (diff)
* More Translation
Diffstat (limited to 'applications/luci-fw/luasrc/controller')
-rw-r--r--applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua b/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua
index 4190970661..4efddb6e77 100644
--- a/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua
+++ b/applications/luci-fw/luasrc/controller/luci_fw/luci_fw.lua
@@ -1,7 +1,10 @@
module("luci.controller.luci_fw.luci_fw", package.seeall)
function index()
- entry({"admin", "network", "portfw"}, cbi("luci_fw/portfw"), "Portweiterleitung", 70)
- entry({"admin", "network", "routing"}, cbi("luci_fw/routing"), "Routing", 72)
- entry({"admin", "network", "firewall"}, cbi("luci_fw/firewall"), "Firewall", 74)
+ require("luci.i18n").loadc("luci-fw")
+ local i18n = luci.i18n.translate
+
+ entry({"admin", "network", "portfw"}, cbi("luci_fw/portfw"), i18n("fw_portfw", "Portweiterleitung"), 70).i18n = "luci-fw"
+ entry({"admin", "network", "routing"}, cbi("luci_fw/routing"), i18n("fw_routing", "Routing"), 73).i18n = "luci-fw"
+ entry({"admin", "network", "firewall"}, cbi("luci_fw/firewall"), i18n("fw_fw", "Firewall"), 76).i18n = "luci-fw"
end \ No newline at end of file