diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-13 20:42:26 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-04-13 20:42:26 +0000 |
commit | f271588cd760680fab9b8864a080c749e21679ad (patch) | |
tree | 00b8039e3037652547a9e44d338c588b6ffa0059 /applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua | |
parent | 9ed5a0d6fa01962d97333e5ba8c57c3e008410f2 (diff) |
applications/luci-statistics: fix translations of cbi models and controller
Diffstat (limited to 'applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua')
-rw-r--r-- | applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua index 8cb921adf2..0dfa1ba975 100644 --- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua +++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua @@ -13,17 +13,22 @@ $Id$ ]]-- -m = Map("luci_statistics") +m = Map("luci_statistics", + translate("Disk Plugin Configuration"), + translate( + "The disk plugin collects detailled usage statistics " .. + "for selected partitions or whole disks." + )) -- collectd_disk config section s = m:section( NamedSection, "collectd_disk", "luci_statistics" ) -- collectd_disk.enable -enable = s:option( Flag, "enable" ) +enable = s:option( Flag, "enable", translate("Enable this plugin") ) enable.default = 0 -- collectd_disk.disks (Disk) -devices = s:option( Value, "Disks" ) +devices = s:option( Value, "Disks", translate("Monitor disks and partitions") ) devices.default = "hda1 hdb" devices.rmempty = true devices:depends( "enable", 1 ) |