applications/luci-statistics: fix translations of cbi models and controller
[project/luci.git] / applications / luci-statistics / luasrc / model / cbi / luci_statistics / interface.lua
index cdc3a10849ff3e5daa19ac57b75581fe311c7911..8e34e72bed8391c484bca21c3d163599b6d9304e 100644 (file)
@@ -16,13 +16,18 @@ $Id$
 require("luci.sys")
 
 
-m = Map("luci_statistics")
+m = Map("luci_statistics",
+       translate("Interface Plugin Configuration"),
+       translate(
+               "The interface plugin collects traffic statistics on " ..
+               "selected interfaces."
+       ))
 
 -- collectd_interface config section
 s = m:section( NamedSection, "collectd_interface", "luci_statistics" )
 
 -- collectd_interface.enable
-enable = s:option( Flag, "enable" )
+enable = s:option( Flag, "enable", translate("Enable this plugin") )
 enable.default = 0
 
 -- collectd_interface.interfaces (Interface)