summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-01 14:24:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-01 14:24:04 +0000
commitf5a760168b3dba6b9b0d5d93ab6b6ed4e229cb73 (patch)
treefbe69b9a2dae898ccb285e79d350c190c17ad4dd /modules/admin-full/luasrc/controller/admin
parentc0ba2e06c65e98360d9a98570286a9c0cb82dc67 (diff)
all: remove references to old i18n files
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin')
-rw-r--r--modules/admin-full/luasrc/controller/admin/index.lua5
-rw-r--r--modules/admin-full/luasrc/controller/admin/network.lua3
-rw-r--r--modules/admin-full/luasrc/controller/admin/services.lua2
-rw-r--r--modules/admin-full/luasrc/controller/admin/status.lua2
-rw-r--r--modules/admin-full/luasrc/controller/admin/system.lua2
5 files changed, 5 insertions, 9 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua
index 9611f5ae7e..3e7b038dbd 100644
--- a/modules/admin-full/luasrc/controller/admin/index.lua
+++ b/modules/admin-full/luasrc/controller/admin/index.lua
@@ -14,7 +14,7 @@ $Id$
module("luci.controller.admin.index", package.seeall)
function index()
- luci.i18n.loadc("admin-core")
+ luci.i18n.loadc("base")
local i18n = luci.i18n.translate
local root = node()
@@ -23,13 +23,12 @@ function index()
root.index = true
end
- entry({"about"}, template("about")).i18n = "admin-core"
+ entry({"about"}, template("about"))
local page = node("admin")
page.target = alias("admin", "index")
page.title = i18n("Administration")
page.order = 10
- page.i18n = "admin-core"
page.sysauth = "root"
page.sysauth_authenticator = "htmlauth"
page.ucidata = true
diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua
index faf4f285b4..a5cc2c2849 100644
--- a/modules/admin-full/luasrc/controller/admin/network.lua
+++ b/modules/admin-full/luasrc/controller/admin/network.lua
@@ -30,16 +30,13 @@ function index()
page.order = 20
local page = entry({"admin", "network", "wireless"}, arcombine(template("admin_network/wifi_overview"), cbi("admin_network/wifi")), i18n("Wifi"), 15)
- page.i18n = "wifi"
page.leaf = true
page.subindex = true
local page = entry({"admin", "network", "wireless_join"}, call("wifi_join"), nil, 16)
- page.i18n = "wifi"
page.leaf = true
local page = entry({"admin", "network", "wireless_delete"}, call("wifi_delete"), nil, 16)
- page.i18n = "wifi"
page.leaf = true
local page = entry({"admin", "network", "network"}, arcombine(cbi("admin_network/network"), cbi("admin_network/ifaces")), i18n("Interfaces"), 10)
diff --git a/modules/admin-full/luasrc/controller/admin/services.lua b/modules/admin-full/luasrc/controller/admin/services.lua
index ee5e9b3d66..d2fab8ad0a 100644
--- a/modules/admin-full/luasrc/controller/admin/services.lua
+++ b/modules/admin-full/luasrc/controller/admin/services.lua
@@ -14,7 +14,7 @@ $Id$
module("luci.controller.admin.services", package.seeall)
function index()
- luci.i18n.loadc("admin-core")
+ luci.i18n.loadc("base")
local i18n = luci.i18n.translate
local page = node("admin", "services", "crontab")
diff --git a/modules/admin-full/luasrc/controller/admin/status.lua b/modules/admin-full/luasrc/controller/admin/status.lua
index 27f1f94378..55bba2f381 100644
--- a/modules/admin-full/luasrc/controller/admin/status.lua
+++ b/modules/admin-full/luasrc/controller/admin/status.lua
@@ -14,7 +14,7 @@ $Id$
module("luci.controller.admin.status", package.seeall)
function index()
- luci.i18n.loadc("admin-core")
+ luci.i18n.loadc("base")
local i18n = luci.i18n.translate
entry({"admin", "status"}, template("admin_status/index"), i18n("Status"), 20).index = true
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua
index 31f4361e46..1a19b143d8 100644
--- a/modules/admin-full/luasrc/controller/admin/system.lua
+++ b/modules/admin-full/luasrc/controller/admin/system.lua
@@ -15,7 +15,7 @@ $Id$
module("luci.controller.admin.system", package.seeall)
function index()
- luci.i18n.loadc("admin-core")
+ luci.i18n.loadc("base")
local i18n = luci.i18n.translate
entry({"admin", "system"}, alias("admin", "system", "system"), i18n("System"), 30).index = true