From 97fcc6df3f79925e330eea609a7c3c5a59102675 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 4 Oct 2008 18:42:06 +0000 Subject: * luci/app/initmgr: fix translation issue in menu entry --- applications/luci-initmgr/luasrc/controller/init.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'applications/luci-initmgr/luasrc/controller/init.lua') diff --git a/applications/luci-initmgr/luasrc/controller/init.lua b/applications/luci-initmgr/luasrc/controller/init.lua index 29445662bd..aecf6c1863 100644 --- a/applications/luci-initmgr/luasrc/controller/init.lua +++ b/applications/luci-initmgr/luasrc/controller/init.lua @@ -19,7 +19,11 @@ function index() return end - local page = entry({"admin", "system", "init"}, form("init/init"), luci.i18n.translate("initmgr", "Init Scripts")) - page.i18n = "initmgr" - page.dependent = true + require("luci.i18n") + luci.i18n.loadc("initmgr") + + entry( + {"admin", "system", "init"}, form("init/init"), + luci.i18n.translate("initmgr", "Init Scripts") + ).i18n = "initmgr" end -- cgit v1.2.3