summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-initmgr/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-04 18:42:06 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-04 18:42:06 +0000
commit97fcc6df3f79925e330eea609a7c3c5a59102675 (patch)
treecadb8c8f1426d1540902bc993e703dcc055c16f2 /applications/luci-initmgr/luasrc
parenta77418045370ecd82afe799b9995ca8b828d75c0 (diff)
* luci/app/initmgr: fix translation issue in menu entry
Diffstat (limited to 'applications/luci-initmgr/luasrc')
-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 29445662b..aecf6c186 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