summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-hd-idle/luasrc/model/cbi
diff options
context:
space:
mode:
authorfantom-x <fantom-x@users.noreply.github.com>2017-04-30 15:42:55 -0400
committerfantom-x <fantom-x@users.noreply.github.com>2017-04-30 15:56:42 -0400
commitd2ce55bc1ef594bbc7411fb5486afb7573a20528 (patch)
tree557fd5d66e0f1e9d575c66272e9d4ba66cef7124 /applications/luci-app-hd-idle/luasrc/model/cbi
parente31b6e9379b944f8e09f87dc8a55360ca24f3080 (diff)
luci-app-hd-idle: removed dashes in menu items and text labels
"hd-idle" replaced with "HDD Idle" in the menu and on the page. All translation files updated accordingly. Signed-off-by: Marc Benoit marcb6218@gmail.com
Diffstat (limited to 'applications/luci-app-hd-idle/luasrc/model/cbi')
-rw-r--r--applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua b/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua
index 70b04af909..c15fdc028a 100644
--- a/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua
+++ b/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua
@@ -3,8 +3,8 @@
require("nixio.fs")
-m = Map("hd-idle", "hd-idle",
- translate("hd-idle is a utility program for spinning-down external " ..
+m = Map("hd-idle", translate("HDD Idle"),
+ translate("HDD Idle is a utility program for spinning-down external " ..
"disks after a period of idle time."))
s = m:section(TypedSection, "hd-idle", translate("Settings"))
@@ -18,9 +18,9 @@ for dev in nixio.fs.glob("/dev/[sh]d[a-z]") do
disk:value(nixio.fs.basename(dev))
end
-s:option(Value, "idle_time_interval", translate("Idle-time")).default = 10
+s:option(Value, "idle_time_interval", translate("Idle time")).default = 10
s.rmempty = true
-unit = s:option(ListValue, "idle_time_unit", translate("Idle-time unit"))
+unit = s:option(ListValue, "idle_time_unit", translate("Idle time unit"))
unit.default = "minutes"
unit:value("minutes", translate("min"))
unit:value("hours", translate("h"))