summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-mini/luasrc/controller/mini/index.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin-mini/luasrc/controller/mini/index.lua')
-rw-r--r--modules/admin-mini/luasrc/controller/mini/index.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/admin-mini/luasrc/controller/mini/index.lua b/modules/admin-mini/luasrc/controller/mini/index.lua
index f50858f4d7..81c0846bfa 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