summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-28 04:19:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-28 04:19:38 +0000
commit466298351d8da9650c678df903f96422bf3779a9 (patch)
tree58c70700e2aa68f8d986bad1c67130a8968b02e8 /applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua
parentee0ef6df98a0d3ca732639dfc4722a6ef39504a3 (diff)
applications/luci_statistics: add missing translations to cbi models
Diffstat (limited to 'applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua')
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua12
1 files changed, 6 insertions, 6 deletions
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