diff options
author | Steven Barth <steven@midlink.org> | 2008-06-08 13:03:55 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-08 13:03:55 +0000 |
commit | b088031a8e5966a0782549149f9920e9639d0581 (patch) | |
tree | 7485d1438d4cd9ab745f2ea463c6f3ecf39da2d6 /modules/admin-core/luasrc/controller/admin | |
parent | 7d03f8ea8a5edf72b708a8a4f45346048274fae6 (diff) |
* Core translation
Diffstat (limited to 'modules/admin-core/luasrc/controller/admin')
-rw-r--r-- | modules/admin-core/luasrc/controller/admin/network.lua | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/modules/admin-core/luasrc/controller/admin/network.lua b/modules/admin-core/luasrc/controller/admin/network.lua index 3f8c4f303c..871263334a 100644 --- a/modules/admin-core/luasrc/controller/admin/network.lua +++ b/modules/admin-core/luasrc/controller/admin/network.lua @@ -14,24 +14,27 @@ $Id$ module("luci.controller.admin.network", package.seeall) function index() + require("luci.i18n") + local i18n = luci.i18n.translate + local page = node("admin", "network") page.target = template("admin_network/index") - page.title = "Netzwerk" + page.title = i18n("network", "Netzwerk") page.order = 50 local page = node("admin", "network", "vlan") page.target = cbi("admin_network/vlan") - page.title = "Switch" + page.title = i18n("a_n_switch", "Switch") page.order = 10 local page = node("admin", "network", "ifaces") page.target = cbi("admin_network/ifaces") - page.title = "Schnittstellen" + page.title = i18n("interfaces", "Schnittstellen") page.order = 20 local page = node("admin", "network", "dhcp") page.target = cbi("admin_network/dhcp") - page.title = "DHCP-Server" + page.title = "DHCP" page.order = 30 local page = node("admin", "network", "ptp") @@ -41,6 +44,6 @@ function index() local page = node("admin", "network", "routes") page.target = cbi("admin_network/routes") - page.title = "Statische Routen" + page.title = i18n("a_n_routes", "Routen") page.order = 50 end
\ No newline at end of file |