diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 15:54:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-10-31 15:54:11 +0000 |
commit | 7c765875884d6866c53b63757731b079bace2e9b (patch) | |
tree | db436df0eaff7de048bca26a7e419aedeb4a08a4 /applications/luci-hd_idle/luasrc | |
parent | dc7138e424dfd454951ed5ed4eeddbf842457e87 (diff) |
all: change most translate statements to new format, some need manual cleanup
Diffstat (limited to 'applications/luci-hd_idle/luasrc')
-rw-r--r-- | applications/luci-hd_idle/luasrc/controller/hd_idle.lua | 2 | ||||
-rw-r--r-- | applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/applications/luci-hd_idle/luasrc/controller/hd_idle.lua b/applications/luci-hd_idle/luasrc/controller/hd_idle.lua index 57ff10d7c6..9d5e5b3b30 100644 --- a/applications/luci-hd_idle/luasrc/controller/hd_idle.lua +++ b/applications/luci-hd_idle/luasrc/controller/hd_idle.lua @@ -22,7 +22,7 @@ function index() return end - local page = entry({"admin", "services", "hd_idle"}, cbi("hd_idle"), luci.i18n.translate("hd_idle", "hd-idle"), 60) + local page = entry({"admin", "services", "hd_idle"}, cbi("hd_idle"), luci.i18n.translate("hd-idle"), 60) page.i18n = "hd_idle" page.dependent = true end 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 929b7ed075..82b9eaa748 100644 --- a/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua +++ b/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua @@ -15,27 +15,27 @@ $Id$ require("nixio.fs") -m = Map("hd-idle", translate("hd_idle"), translate("hd_idle_desc")) +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.")) -s = m:section(TypedSection, "hd-idle", translate("settings")) +s = m:section(TypedSection, "hd-idle", translate("Settings")) s.anonymous = true -s:option(Flag, "enabled", translate("enable", "Enable")) +s:option(Flag, "enabled", translate("enable")) -disk = s:option(Value, "disk", translate("disk")) +disk = s:option(Value, "disk", translate("Disk")) disk.rmempty = true 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_interval")).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.rmempty = true -s:option(Flag, "enable_debug", translate("enable_debug")) +s:option(Flag, "enable_debug", translate("Enable debug")) return m |