applications/luci-statistics: fix translations of cbi models and controller
[project/luci.git] / applications / luci-statistics / luasrc / model / cbi / luci_statistics / cpu.lua
index 2cd0e64..26d5f07 100644 (file)
@@ -13,13 +13,15 @@ $Id$
 
 ]]--
 
-m = Map("luci_statistics")
+m = Map("luci_statistics",
+       translate("CPU Plugin Configuration"),
+       translate("The cpu plugin collects basic statistics about the processor usage."))
 
 -- collectd_cpu config section
 s = m:section( NamedSection, "collectd_cpu", "luci_statistics" )
 
 -- collectd_cpu.enable
-enable = s:option( Flag, "enable" )
+enable = s:option( Flag, "enable", translate("Enable this plugin") )
 enable.default = 0
 
 return m