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
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"))
-# hd_idle.pot
-# generated from ./applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua
+# Generated from applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua
+#
+#, fuzzy
msgid ""
-msgstr "Content-Type: text/plain; charset=UTF-8"
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2010-04-14 10:33+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
-#. Disk
-#: applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua:1
-msgid "Disk"
+msgid ""
+"hd-idle is a utility program for spinning-down external disks after a period "
+"of idle time."
msgstr ""
-#. Enable debug
-#: applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua:2
-msgid "Enable debug"
+msgid "Settings"
msgstr ""
-#. hd-idle
-#: applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua:3
-msgid "hd-idle"
+msgid "Enable"
msgstr ""
-#. hd-idle is a utility program for spinning-down external disks after a period of idle time.
-#: applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua:4
-msgid ""
-"hd-idle is a utility program for spinning-down external disks after a period "
-"of idle time."
+msgid "Disk"
msgstr ""
-#. Idle-Time
-#: applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua:5
-msgid "Idle-Time"
+msgid "Idle-time"
msgstr ""
-#. Idle-Time unit
-#: applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua:6
-msgid "Idle-Time unit"
+msgid "Idle-time unit"
msgstr ""
-#. Settings
-#: applications/luci-hd_idle/luasrc/i18n/hd_idle.en.lua:7
-msgid "Settings"
+# Minutes (not minimum)
+msgid "min"
+msgstr ""
+
+# Hours
+msgid "h"
+msgstr ""
+
+msgid "Enable debug"
msgstr ""