projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applications/luci-statistics: fix translations of cbi models and controller
[project/luci.git]
/
applications
/
luci-statistics
/
luasrc
/
model
/
cbi
/
luci_statistics
/
processes.lua
diff --git
a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
index
b2bc04f
..
6607b36
100644
(file)
--- a/
applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
+++ b/
applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
@@
-13,17
+13,22
@@
$Id$
]]--
]]--
-m = Map("luci_statistics")
+m = Map("luci_statistics",
+ translate("Processes Plugin Configuration"),
+ translate(
+ "The processes plugin collects informations like cpu time, " ..
+ "page faults and memory usage of selected processes."
+ ))
-- collectd_processes config section
s = m:section( NamedSection, "collectd_processes", "luci_statistics" )
-- collectd_processes.enable
-- collectd_processes config section
s = m:section( NamedSection, "collectd_processes", "luci_statistics" )
-- collectd_processes.enable
-enable = s:option( Flag, "enable" )
+enable = s:option( Flag, "enable"
, translate("Enable this plugin")
)
enable.default = 0
-- collectd_processes.processes (Process)
enable.default = 0
-- collectd_processes.processes (Process)
-processes = s:option( Value, "Processes" )
+processes = s:option( Value, "Processes"
, translate("Monitor processes")
)
processes.default = "olsrd bmxd httpd dnsmasq dropbear tinc"
processes:depends( "enable", 1 )
processes.default = "olsrd bmxd httpd dnsmasq dropbear tinc"
processes:depends( "enable", 1 )