X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-statistics%2Fluasrc%2Fmodel%2Fcbi%2Fluci_statistics%2Firq.lua;h=d6aa2e96c322b0caa324fda7bef339468a7f0b2b;hb=466298351d8da9650c678df903f96422bf3779a9;hp=7e73a2b9fc9f2108d072140757b757a5915de403;hpb=3e94adc682b0d72503023300bddf9d6eaf6ca380;p=project%2Fluci.git 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 7e73a2b9f..d6aa2e96c 100644 --- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua +++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua @@ -13,22 +13,28 @@ $Id$ ]]-- -m = Map("luci_statistics") +m = Map("luci_statistics", + translate("IRQ Plugin Configuration"), + translate( + "The irq plugin will monitor the rate of issues per second for " .. + "each selected interrupt. If no interrupt is selected then all " .. + "interrupts are monitored." + )) -- collectd_irq config section s = m:section( NamedSection, "collectd_irq", "luci_statistics" ) -- collectd_irq.enable -enable = s:option( Flag, "enable" ) +enable = s:option( Flag, "enable", translate("Enable this plugin") ) enable.default = 0 -- collectd_irq.irqs (Irq) -irqs = s:option( Value, "Irqs" ) +irqs = s:option( Value, "Irqs", translate("Monitor interrupts") ) 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 )