From: Manuel Munz Date: Mon, 28 Nov 2011 15:19:11 +0000 (+0000) Subject: applications/luci-statistics: Add missing translations to exec cbi model X-Git-Tag: 0.11.0~1313 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=431787975e230fb627c22f37616cd8d9423a3cbc;p=project%2Fluci.git applications/luci-statistics: Add missing translations to exec cbi model --- 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 2811c3d0bb..997d455d9a 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", translate("Command line") ) +exec_cmdline = exec:option( Value, "cmdline", translate("Script") ) exec_cmdline.default = "/usr/bin/stat-dhcpusers" -- collectd_exec_input.cmdline -exec_cmduser = exec:option( Value, "cmduser", translate("Run as user") ) +exec_cmduser = exec:option( Value, "cmduser", translate("User") ) exec_cmduser.default = "nobody" exec_cmduser.rmempty = true exec_cmduser.optional = true -- collectd_exec_input.cmdline -exec_cmdgroup = exec:option( Value, "cmdgroup", translate("Run as group") ) +exec_cmdgroup = exec:option( Value, "cmdgroup", translate("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", translate("Command line") ) +notify_cmdline = notify:option( Value, "cmdline", translate("Script") ) notify_cmdline.default = "/usr/bin/stat-dhcpusers" -- collectd_notify_input.cmdline -notify_cmduser = notify:option( Value, "cmduser", translate("Run as user") ) +notify_cmduser = notify:option( Value, "cmduser", translate("User") ) notify_cmduser.default = "nobody" notify_cmduser.rmempty = true notify_cmduser.optional = true -- collectd_notify_input.cmdline -notify_cmdgroup = notify:option( Value, "cmdgroup", translate("Run as group") ) +notify_cmdgroup = notify:option( Value, "cmdgroup", translate("Group") ) notify_cmdgroup.default = "nogroup" notify_cmdgroup.rmempty = true notify_cmdgroup.optional = true