X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-statistics%2Fluasrc%2Fmodel%2Fcbi%2Fluci_statistics%2Finterface.lua;fp=applications%2Fluci-statistics%2Fluasrc%2Fmodel%2Fcbi%2Fluci_statistics%2Finterface.lua;h=8e34e72bed8391c484bca21c3d163599b6d9304e;hp=cdc3a10849ff3e5daa19ac57b75581fe311c7911;hb=f271588cd760680fab9b8864a080c749e21679ad;hpb=9ed5a0d6fa01962d97333e5ba8c57c3e008410f2 diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua index cdc3a10849..8e34e72bed 100644 --- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua +++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua @@ -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)