summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua2
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua2
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua2
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua6
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua12
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua4
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua2
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua2
8 files changed, 16 insertions, 16 deletions
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua
index be7ab0c5ec..1a3245fc04 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/df.lua
@@ -46,7 +46,7 @@ fstypes.optional = true
fstypes:depends( "enable", 1 )
-- collectd_df.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua
index 0dfa1ba975..7592b44403 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua
@@ -34,7 +34,7 @@ devices.rmempty = true
devices:depends( "enable", 1 )
-- collectd_disk.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
index bfaeb423c2..28d9e5de33 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
@@ -31,7 +31,7 @@ enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0
-- collectd_dns.interfaces (Interface)
-interfaces = s:option( MultiValue, "Interfaces" )
+interfaces = s:option( MultiValue, "Interfaces", translate("Monitor interfaces") )
interfaces.widget = "select"
interfaces.size = 5
interfaces:depends( "enable", 1 )
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua
index 37d2cdf467..c5733d8cf8 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua
@@ -31,19 +31,19 @@ enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0
-- collectd_email.socketfile (SocketFile)
-socketfile = s:option( Value, "SocketFile" )
+socketfile = s:option( Value, "SocketFile", translate("Socket file") )
socketfile.default = "/var/run/collect-email.sock"
socketfile:depends( "enable", 1 )
-- collectd_email.socketgroup (SocketGroup)
-socketgroup = s:option( Value, "SocketGroup" )
+socketgroup = s:option( Value, "SocketGroup", translate("Socket group") )
socketgroup.default = "nobody"
socketgroup.rmempty = true
socketgroup.optional = true
socketgroup:depends( "enable", 1 )
-- collectd_email.socketperms (SocketPerms)
-socketperms = s:option( Value, "SocketPerms" )
+socketperms = s:option( Value, "SocketPerms", translate("Socket permissions") )
socketperms.default = "0770"
socketperms.rmempty = true
socketperms.optional = true
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua
index 7609f24583..2811c3d0bb 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua
@@ -41,17 +41,17 @@ exec.addremove = true
exec.anonymous = true
-- collectd_exec_input.cmdline
-exec_cmdline = exec:option( Value, "cmdline" )
+exec_cmdline = exec:option( Value, "cmdline", translate("Command line") )
exec_cmdline.default = "/usr/bin/stat-dhcpusers"
-- collectd_exec_input.cmdline
-exec_cmduser = exec:option( Value, "cmduser" )
+exec_cmduser = exec:option( Value, "cmduser", translate("Run as user") )
exec_cmduser.default = "nobody"
exec_cmduser.rmempty = true
exec_cmduser.optional = true
-- collectd_exec_input.cmdline
-exec_cmdgroup = exec:option( Value, "cmdgroup" )
+exec_cmdgroup = exec:option( Value, "cmdgroup", translate("Run as group") )
exec_cmdgroup.default = "nogroup"
exec_cmdgroup.rmempty = true
exec_cmdgroup.optional = true
@@ -70,17 +70,17 @@ notify.addremove = true
notify.anonymous = true
-- collectd_notify_input.cmdline
-notify_cmdline = notify:option( Value, "cmdline" )
+notify_cmdline = notify:option( Value, "cmdline", translate("Command line") )
notify_cmdline.default = "/usr/bin/stat-dhcpusers"
-- collectd_notify_input.cmdline
-notify_cmduser = notify:option( Value, "cmduser" )
+notify_cmduser = notify:option( Value, "cmduser", translate("Run as user") )
notify_cmduser.default = "nobody"
notify_cmduser.rmempty = true
notify_cmduser.optional = true
-- collectd_notify_input.cmdline
-notify_cmdgroup = notify:option( Value, "cmdgroup" )
+notify_cmdgroup = notify:option( Value, "cmdgroup", translate("Run as group") )
notify_cmdgroup.default = "nogroup"
notify_cmdgroup.rmempty = true
notify_cmdgroup.optional = true
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua
index 8e34e72bed..dbb3e9dc06 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua
@@ -31,7 +31,7 @@ enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0
-- collectd_interface.interfaces (Interface)
-interfaces = s:option( MultiValue, "Interfaces" )
+interfaces = s:option( MultiValue, "Interfaces", translate("Monitor interfaces") )
interfaces.widget = "select"
interfaces.size = 5
interfaces:depends( "enable", 1 )
@@ -40,7 +40,7 @@ for k, v in pairs(luci.sys.net.devices()) do
end
-- collectd_interface.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua
index ea5f716e09..d6aa2e96c3 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua
@@ -34,7 +34,7 @@ irqs.optional = true
irqs:depends( "enable", 1 )
-- collectd_irq.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected.optional = "true"
ignoreselected:depends( "enable", 1 )
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua
index 7447668b21..3417d0902d 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua
@@ -88,7 +88,7 @@ for i, v in ipairs(devices) do
end
-- collectd_netlink.ignoreselected (IgnoreSelected)
-ignoreselected = s:option( Flag, "IgnoreSelected" )
+ignoreselected = s:option( Flag, "IgnoreSelected", translate("Monitor all except specified") )
ignoreselected.default = 0
ignoreselected:depends( "enable", 1 )