summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-13 20:42:26 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-13 20:42:26 +0000
commitf271588cd760680fab9b8864a080c749e21679ad (patch)
tree00b8039e3037652547a9e44d338c588b6ffa0059 /applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua
parent9ed5a0d6fa01962d97333e5ba8c57c3e008410f2 (diff)
applications/luci-statistics: fix translations of cbi models and controller
Diffstat (limited to 'applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua')
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua9
1 files changed, 7 insertions, 2 deletions
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 eb97a3e2fa..cbd52ec1fe 100644
--- 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
-enable = s:option( Flag, "enable" )
+enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0
-- collectd_unixsock.socketfile (SocketFile)