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
/
unixsock.lua
diff --git
a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
index
eb97a3e
..
cbd52ec
100644
(file)
--- a/
applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
+++ b/
applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
@@
-13,13
+13,18
@@
$Id$
]]--
]]--
-m = Map("luci_statistics")
+m = Map("luci_statistics",
+ translate("Unixsock Plugin Configuration"),
+ translate(
+ "The unixsock plugin creates a unix socket which can be used " ..
+ "to read collected data from a running collectd instance."
+ ))
-- collectd_unixsock config section
s = m:section( NamedSection, "collectd_unixsock", "luci_statistics" )
-- collectd_unixsock.enable
-- collectd_unixsock config section
s = m:section( NamedSection, "collectd_unixsock", "luci_statistics" )
-- collectd_unixsock.enable
-enable = s:option( Flag, "enable" )
+enable = s:option( Flag, "enable"
, translate("Enable this plugin")
)
enable.default = 0
-- collectd_unixsock.socketfile (SocketFile)
enable.default = 0
-- collectd_unixsock.socketfile (SocketFile)