diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-01 14:24:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-11-01 14:24:04 +0000 |
commit | f5a760168b3dba6b9b0d5d93ab6b6ed4e229cb73 (patch) | |
tree | fbe69b9a2dae898ccb285e79d350c190c17ad4dd /modules/admin-mini/luasrc/controller | |
parent | c0ba2e06c65e98360d9a98570286a9c0cb82dc67 (diff) |
all: remove references to old i18n files
Diffstat (limited to 'modules/admin-mini/luasrc/controller')
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/index.lua | 7 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/network.lua | 6 | ||||
-rw-r--r-- | modules/admin-mini/luasrc/controller/mini/system.lua | 2 |
3 files changed, 7 insertions, 8 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/index.lua b/modules/admin-mini/luasrc/controller/mini/index.lua index f50858f4d..81c0846bf 100644 --- a/modules/admin-mini/luasrc/controller/mini/index.lua +++ b/modules/admin-mini/luasrc/controller/mini/index.lua @@ -16,7 +16,7 @@ $Id$ module("luci.controller.mini.index", package.seeall) function index() - luci.i18n.loadc("admin-core") + luci.i18n.loadc("base") local i18n = luci.i18n.translate local root = node() @@ -25,10 +25,9 @@ function index() root.index = true end - entry({"about"}, template("about")).i18n = "admin-core" + entry({"about"}, template("about")) local page = entry({"mini"}, alias("mini", "index"), i18n("Essentials"), 10) - page.i18n = "admin-core" page.sysauth = "root" page.sysauth_authenticator = "htmlauth" page.index = true @@ -49,4 +48,4 @@ function action_logout() luci.http.header("Set-Cookie", "sysauth=; path=" .. dsp.build_url()) luci.http.redirect(luci.dispatcher.build_url()) -end
\ No newline at end of file +end diff --git a/modules/admin-mini/luasrc/controller/mini/network.lua b/modules/admin-mini/luasrc/controller/mini/network.lua index 25f29d9db..22162adc5 100644 --- a/modules/admin-mini/luasrc/controller/mini/network.lua +++ b/modules/admin-mini/luasrc/controller/mini/network.lua @@ -16,11 +16,11 @@ $Id$ module("luci.controller.mini.network", package.seeall) function index() - luci.i18n.loadc("admin-core") + luci.i18n.loadc("base") local i18n = luci.i18n.translate entry({"mini", "network"}, alias("mini", "network", "index"), i18n("Network"), 20).index = true entry({"mini", "network", "index"}, cbi("mini/network", {autoapply=true}), i18n("General"), 1) - entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), i18n("Wifi"), 10).i18n="wifi" + entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), i18n("Wifi"), 10) entry({"mini", "network", "dhcp"}, cbi("mini/dhcp", {autoapply=true}), "DHCP", 20) -end
\ No newline at end of file +end diff --git a/modules/admin-mini/luasrc/controller/mini/system.lua b/modules/admin-mini/luasrc/controller/mini/system.lua index f21a9ef96..93f113a32 100644 --- a/modules/admin-mini/luasrc/controller/mini/system.lua +++ b/modules/admin-mini/luasrc/controller/mini/system.lua @@ -16,7 +16,7 @@ $Id$ module("luci.controller.mini.system", package.seeall) function index() - luci.i18n.loadc("admin-core") + luci.i18n.loadc("base") local i18n = luci.i18n.translate entry({"mini", "system"}, alias("mini", "system", "index"), i18n("System"), 40).index = true |