summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-initmgr/luasrc/controller/init.lua10
1 files changed, 7 insertions, 3 deletions
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