diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 15:54:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 15:54:11 +0000 |
commit | 7c765875884d6866c53b63757731b079bace2e9b (patch) | |
tree | db436df0eaff7de048bca26a7e419aedeb4a08a4 /applications/luci-initmgr | |
parent | dc7138e424dfd454951ed5ed4eeddbf842457e87 (diff) |
all: change most translate statements to new format, some need manual cleanup
Diffstat (limited to 'applications/luci-initmgr')
-rw-r--r-- | applications/luci-initmgr/luasrc/controller/init.lua | 2 | ||||
-rw-r--r-- | applications/luci-initmgr/luasrc/model/cbi/init/init.lua | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-initmgr/luasrc/controller/init.lua b/applications/luci-initmgr/luasrc/controller/init.lua index c7ef43f83..3ff9ed0c0 100644 --- a/applications/luci-initmgr/luasrc/controller/init.lua +++ b/applications/luci-initmgr/luasrc/controller/init.lua @@ -24,6 +24,6 @@ function index() entry( {"admin", "system", "init"}, form("init/init"), - luci.i18n.translate("initmgr", "Init Scripts") + luci.i18n.translate("Initscripts") ).i18n = "initmgr" end diff --git a/applications/luci-initmgr/luasrc/model/cbi/init/init.lua b/applications/luci-initmgr/luasrc/model/cbi/init/init.lua index 1fdc32bca..668ebad15 100644 --- a/applications/luci-initmgr/luasrc/model/cbi/init/init.lua +++ b/applications/luci-initmgr/luasrc/model/cbi/init/init.lua @@ -30,13 +30,13 @@ for _, name in ipairs(luci.sys.init.names()) do end -m = SimpleForm("initmgr", translate("initmgr"), translate("initmgr_desc")) +m = SimpleForm("initmgr", translate("Initscripts"), translate("You can enable or disable installed init scripts here. Changes will applied after a device reboot.<br /><strong>Warning: If you disable essential init scripts like \"network\", your device might become inaccesable!</strong>")) m.reset = false s = m:section(Table, inits) -i = s:option(DummyValue, "index", translate("initmgr_index")) -n = s:option(DummyValue, "name", translate("initmgr_name")) +i = s:option(DummyValue, "index", translate("Start priority")) +n = s:option(DummyValue, "name", translate("Initscript")) e = s:option(Flag, "enabled", translate("initmgr_enabled")) |