summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-13 20:42:26 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-13 20:42:26 +0000
commitf271588cd760680fab9b8864a080c749e21679ad (patch)
tree00b8039e3037652547a9e44d338c588b6ffa0059 /applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua
parent9ed5a0d6fa01962d97333e5ba8c57c3e008410f2 (diff)
applications/luci-statistics: fix translations of cbi models and controller
Diffstat (limited to 'applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua')
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua
index a58c3ec79a..e59a4b8f7e 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/load.lua
@@ -13,13 +13,17 @@ $Id$
]]--
-m = Map("luci_statistics")
+m = Map("luci_statistics",
+ translate("Load Plugin Configuration"),
+ translate(
+ "The load plugin collects statistics about the general system load."
+ ))
-- collectd_wireless config section
s = m:section( NamedSection, "collectd_load", "luci_statistics" )
-- collectd_wireless.enable
-enable = s:option( Flag, "enable" )
+enable = s:option( Flag, "enable", translate("Enable this plugin") )
enable.default = 0
return m