From ae05491d07bd0e738d563a7729d53c4da46ff31e Mon Sep 17 00:00:00 2001 From: BenoƮt Knecht Date: Wed, 14 Apr 2010 08:58:08 +0000 Subject: hd-idle: clean-up translation strings --- applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'applications') diff --git a/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua b/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua index 82b9eaa74..d1a88414e 100644 --- a/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua +++ b/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua @@ -15,12 +15,14 @@ $Id$ require("nixio.fs") -m = Map("hd-idle", translate("hd-idle"), translate("hd-idle is a utility program for spinning-down external disks after a period of idle time.")) +m = Map("hd-idle", "hd-idle", + translate("hd-idle is a utility program for spinning-down external " .. + "disks after a period of idle time.")) s = m:section(TypedSection, "hd-idle", translate("Settings")) s.anonymous = true -s:option(Flag, "enabled", translate("enable")) +s:option(Flag, "enabled", translate("Enable")) disk = s:option(Value, "disk", translate("Disk")) disk.rmempty = true @@ -28,12 +30,12 @@ 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", "min") -unit:value("hours", "h") +unit:value("minutes", translate("min")) +unit:value("hours", translate("h")) unit.rmempty = true s:option(Flag, "enable_debug", translate("Enable debug")) -- cgit v1.2.3