From: Van Waholtz Date: Sat, 9 May 2020 02:04:25 +0000 (+0800) Subject: luci-app-hd-idle: convert to client side rendering X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F4037%2Fhead;p=oweals%2Fluci.git luci-app-hd-idle: convert to client side rendering Signed-off-by: Van Waholtz --- diff --git a/applications/luci-app-hd-idle/Makefile b/applications/luci-app-hd-idle/Makefile index cba55796d..07d5cadd9 100644 --- a/applications/luci-app-hd-idle/Makefile +++ b/applications/luci-app-hd-idle/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Hard Disk Idle Spin-Down module -LUCI_DEPENDS:=+luci-compat +hd-idle +LUCI_DEPENDS:=+hd-idle include ../../luci.mk diff --git a/applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js b/applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js new file mode 100644 index 000000000..f51022952 --- /dev/null +++ b/applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js @@ -0,0 +1,44 @@ +'use strict'; +'require form'; +'require fs'; +'require view'; + +return view.extend({ + load: function() { + return fs.list('/dev').then(function(devs) { + return devs.filter(function(dev) { + return dev.type == 'block' ? dev.name.match(/^[sh]d[a-z]$/) : false; + }); + }); + }, + + render: function(devs) { + var m, s, o; + m = new form.Map('hd-idle', _('HDD Idle'), _('HDD Idle is a utility program for spinning-down external disks after a period of idle time.')); + + s = m.section(form.TypedSection, 'hd-idle', _('Settings')); + s.anonymous = true; + s.addremove = true; + s.addbtntitle = _('Add new hdd setting...'); + + o = s.option(form.Flag, 'enabled', _('Enable')); + o.rmempty = false; + + o = s.option(form.Value, 'disk', _('Disk')); + devs.forEach(function(dev) { + o.value(dev.name); + }); + + o = s.option(form.Value, 'idle_time_interval', _('Idle time')); + o.default = 10; + + o = s.option(form.ListValue, 'idle_time_unit', _('Idle time unit')); + o.value('seconds', _('s', 'Abbreviation for seconds')); + o.value('minutes', _('min', 'Abbreviation for minutes')); + o.value('hours', _('h', 'Abbreviation for hours')); + o.value('days', _('d', 'Abbreviation for days')); + o.default = 'minutes'; + + return m.render(); + } +}); 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 deleted file mode 100644 index c15fdc028..000000000 --- a/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua +++ /dev/null @@ -1,29 +0,0 @@ --- Copyright 2008 Yanira --- Licensed to the public under the Apache License 2.0. - -require("nixio.fs") - -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")) -s.anonymous = true - -s:option(Flag, "enabled", translate("Enable")) - -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")).default = 10 -s.rmempty = true -unit = s:option(ListValue, "idle_time_unit", translate("Idle time unit")) -unit.default = "minutes" -unit:value("minutes", translate("min")) -unit:value("hours", translate("h")) -unit.rmempty = true - -return m diff --git a/applications/luci-app-hd-idle/po/ca/hd_idle.po b/applications/luci-app-hd-idle/po/ca/hd_idle.po index 7067668df..9d155751d 100644 --- a/applications/luci-app-hd-idle/po/ca/hd_idle.po +++ b/applications/luci-app-hd-idle/po/ca/hd_idle.po @@ -15,11 +15,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disc" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Habilita" @@ -27,12 +31,12 @@ msgstr "Habilita" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -40,27 +44,45 @@ msgstr "" "HDD Idle és un programa per ralentitzar els discos externs després d'un " "període de temps inactiu." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Temps d'inactivitat" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Unitat de temps d'inactivitat" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Ajusts" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "h" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "min" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "h" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "min" #~ msgid "Enable debug" #~ msgstr "Habilita la depuració" diff --git a/applications/luci-app-hd-idle/po/cs/hd_idle.po b/applications/luci-app-hd-idle/po/cs/hd_idle.po index c63a67ccb..6c7fee1ad 100644 --- a/applications/luci-app-hd-idle/po/cs/hd_idle.po +++ b/applications/luci-app-hd-idle/po/cs/hd_idle.po @@ -15,11 +15,15 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disk" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Povolit" @@ -27,12 +31,12 @@ msgstr "Povolit" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -40,27 +44,45 @@ msgstr "" "HDD Idle je utilita pro vypnutí externích pevných disků po určité době " "nečinnosti." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Čas nečinnosti" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Čas nečinnosti - jednotka" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Nastavení" -# Hodin -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "h" +msgstr "" -# Minut (ne minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "min" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hodin +#~ msgid "h" +#~ msgstr "h" + +# Minut (ne minimum) +#~ msgid "min" +#~ msgstr "min" #~ msgid "Enable debug" #~ msgstr "Povolit ladění" diff --git a/applications/luci-app-hd-idle/po/de/hd_idle.po b/applications/luci-app-hd-idle/po/de/hd_idle.po index d10765717..518cc886c 100644 --- a/applications/luci-app-hd-idle/po/de/hd_idle.po +++ b/applications/luci-app-hd-idle/po/de/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.4\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Festplatte" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Aktivieren" @@ -25,12 +29,12 @@ msgstr "Aktivieren" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -38,27 +42,45 @@ msgstr "" "HDD Idle ist ein Hilfsprogramm um externe Festplatten nach einer " "festgelegten Leerlaufzeit herunter zu fahren." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Leerlaufzeit" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Leerlaufzeiteinheit" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Einstellungen" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "Stunden" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "Minuten" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "Stunden" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "Minuten" #~ msgid "Enable debug" #~ msgstr "Debug-Ausgaben aktivieren" diff --git a/applications/luci-app-hd-idle/po/el/hd_idle.po b/applications/luci-app-hd-idle/po/el/hd_idle.po index 2bdb7cd4b..c6b514e04 100644 --- a/applications/luci-app-hd-idle/po/el/hd_idle.po +++ b/applications/luci-app-hd-idle/po/el/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.4\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Δίσκος" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Ενεργοποίηση" @@ -25,38 +29,56 @@ msgstr "Ενεργοποίηση" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Ρυθμίσεις" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "ω" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "λεπτά" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "ω" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "λεπτά" #~ msgid "Enable debug" #~ msgstr "Ενεργοποίηση αποσφαλμάτωσης" diff --git a/applications/luci-app-hd-idle/po/en/hd_idle.po b/applications/luci-app-hd-idle/po/en/hd_idle.po index b84808da6..3e1e1d431 100644 --- a/applications/luci-app-hd-idle/po/en/hd_idle.po +++ b/applications/luci-app-hd-idle/po/en/hd_idle.po @@ -11,11 +11,15 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disk" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Enable" @@ -23,12 +27,12 @@ msgstr "Enable" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -36,27 +40,45 @@ msgstr "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Idle time" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Idle time unit" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Settings" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "h" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "min" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "h" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "min" #~ msgid "Enable debug" #~ msgstr "Enable debug" diff --git a/applications/luci-app-hd-idle/po/es/hd_idle.po b/applications/luci-app-hd-idle/po/es/hd_idle.po index 336d377b9..1b60fdc96 100644 --- a/applications/luci-app-hd-idle/po/es/hd_idle.po +++ b/applications/luci-app-hd-idle/po/es/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "X-Generator: Poedit 2.2.4\n" "Language-Team: \n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disco" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Activar" @@ -25,12 +29,12 @@ msgstr "Activar" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -38,27 +42,45 @@ msgstr "" "HDD Idle es un programa que gestiona el reposo de discos externos tras un " "tiempo de inactividad." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Tiempo de inactividad" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Unidad de tiempo" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Configuración" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "Horas" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "Minutos" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "Horas" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "Minutos" #~ msgid "Enable debug" #~ msgstr "Activar depuración" diff --git a/applications/luci-app-hd-idle/po/fr/hd_idle.po b/applications/luci-app-hd-idle/po/fr/hd_idle.po index ac8635e46..e37d1c73d 100644 --- a/applications/luci-app-hd-idle/po/fr/hd_idle.po +++ b/applications/luci-app-hd-idle/po/fr/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disque" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Activer" @@ -25,12 +29,12 @@ msgstr "Activer" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -38,27 +42,45 @@ msgstr "" "HDD Idle est un utilitaire pour arrêter la rotation des disques externes " "après une période d'inactivité." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Temps d'inactivité" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Unité de temps" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Réglages" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "h" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "min" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "h" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "min" #~ msgid "Enable debug" #~ msgstr "Activer le débogage" diff --git a/applications/luci-app-hd-idle/po/he/hd_idle.po b/applications/luci-app-hd-idle/po/he/hd_idle.po index 64749abcf..595db85d0 100644 --- a/applications/luci-app-hd-idle/po/he/hd_idle.po +++ b/applications/luci-app-hd-idle/po/he/hd_idle.po @@ -15,11 +15,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.4\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "כונן" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "אפשר" @@ -27,12 +31,12 @@ msgstr "אפשר" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -40,27 +44,45 @@ msgstr "" "HDD Idle הינה תוכנת שירות שמטרתה להקטין את מהירות הסיבוב של כוננים חיצוניים " "לאחר זמן מסוים של חוסר פעילות." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "זמן חוסר פעילות" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "יחידת זמן חוסר פעילות" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "הגדרות" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "ש'" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "דק'" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "ש'" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "דק'" #~ msgid "Enable debug" #~ msgstr "אפשר ניפוי שגיאות" diff --git a/applications/luci-app-hd-idle/po/hu/hd_idle.po b/applications/luci-app-hd-idle/po/hu/hd_idle.po index e055b1c62..d72dfa467 100644 --- a/applications/luci-app-hd-idle/po/hu/hd_idle.po +++ b/applications/luci-app-hd-idle/po/hu/hd_idle.po @@ -15,11 +15,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Lemez" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Engedélyezés" @@ -27,12 +31,12 @@ msgstr "Engedélyezés" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -40,27 +44,45 @@ msgstr "" "HDD Idle egy a külső lemezek adott üresjárati idő után történő leállítására " "szolgáló segédprogram." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Üresjárati idő" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Üresjárati idő egysége" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Beállítások" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "óra" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "perc" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "óra" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "perc" #~ msgid "Enable debug" #~ msgstr "Hibakeresés engedélyezése" diff --git a/applications/luci-app-hd-idle/po/it/hd_idle.po b/applications/luci-app-hd-idle/po/it/hd_idle.po index 783445571..ded25fb17 100644 --- a/applications/luci-app-hd-idle/po/it/hd_idle.po +++ b/applications/luci-app-hd-idle/po/it/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disco" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Abilita" @@ -25,12 +29,12 @@ msgstr "Abilita" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -38,27 +42,45 @@ msgstr "" "HDD Idle è un programma per mettere in standby i dischi esterni dopo un " "periodo di inattività." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Tempo di inattività" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Unità di misura del tempo di inattività" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Opzioni" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "ora/e" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "min" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "ora/e" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "min" #~ msgid "Enable debug" #~ msgstr "Abilita debug" diff --git a/applications/luci-app-hd-idle/po/ja/hd_idle.po b/applications/luci-app-hd-idle/po/ja/hd_idle.po index 484fe3890..1223b45fc 100644 --- a/applications/luci-app-hd-idle/po/ja/hd_idle.po +++ b/applications/luci-app-hd-idle/po/ja/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "ディスク" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "有効" @@ -25,12 +29,12 @@ msgstr "有効" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -38,27 +42,45 @@ msgstr "" "HDD Idleはアイドル時に外部ディスクをスピンダウンさせるための、ユーティリティ" "プログラムです。" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "アイドル時間" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "アイドル時間 (単位)" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "設定" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "時" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "分" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "時" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "分" #~ msgid "Enable debug" #~ msgstr "デバッグを有効にする" diff --git a/applications/luci-app-hd-idle/po/ms/hd_idle.po b/applications/luci-app-hd-idle/po/ms/hd_idle.po index fb4e0b6d2..50d7ce5a1 100644 --- a/applications/luci-app-hd-idle/po/ms/hd_idle.po +++ b/applications/luci-app-hd-idle/po/ms/hd_idle.po @@ -12,11 +12,15 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "" @@ -24,35 +28,45 @@ msgstr "" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" diff --git a/applications/luci-app-hd-idle/po/nb_NO/hd_idle.po b/applications/luci-app-hd-idle/po/nb_NO/hd_idle.po index 98131230d..1641b0e02 100644 --- a/applications/luci-app-hd-idle/po/nb_NO/hd_idle.po +++ b/applications/luci-app-hd-idle/po/nb_NO/hd_idle.po @@ -4,11 +4,15 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disk" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Aktiver" @@ -16,12 +20,12 @@ msgstr "Aktiver" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -29,25 +33,43 @@ msgstr "" "HDD Idle er et verktøy for å spinne ned eksterne disker etter en periode med " "inaktivitet." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Tid inaktiv" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Tidsenhet" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Innstillinger" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "timer" +msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "minutter" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +#~ msgid "h" +#~ msgstr "timer" + +#~ msgid "min" +#~ msgstr "minutter" #~ msgid "Enable debug" #~ msgstr "Aktiver feilsøking" diff --git a/applications/luci-app-hd-idle/po/pl/hd_idle.po b/applications/luci-app-hd-idle/po/pl/hd_idle.po index ea57fc8da..5b5c6c2c7 100644 --- a/applications/luci-app-hd-idle/po/pl/hd_idle.po +++ b/applications/luci-app-hd-idle/po/pl/hd_idle.po @@ -14,11 +14,15 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Pootle 2.0.4\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Dysk" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Włącz" @@ -26,12 +30,12 @@ msgstr "Włącz" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -39,27 +43,45 @@ msgstr "" "HDD Idle jest narzędziem do zwalniania obrotów zewnętrznych dysków po " "określonym czasie bezczynności." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Czas bezczynności" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Jednostka czasu bezczynności" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Ustawienia" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "godz." +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "min" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "godz." + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "min" #~ msgid "Enable debug" #~ msgstr "Włącz tryb debugowania" diff --git a/applications/luci-app-hd-idle/po/pt/hd_idle.po b/applications/luci-app-hd-idle/po/pt/hd_idle.po index 2a2a852a3..8062281f2 100644 --- a/applications/luci-app-hd-idle/po/pt/hd_idle.po +++ b/applications/luci-app-hd-idle/po/pt/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disco" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Ativar" @@ -25,12 +29,12 @@ msgstr "Ativar" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -38,27 +42,45 @@ msgstr "" "HDD Idle é um programa utilitário para activar o modo \"economia de energia" "\" (spinning-down) de discos externos após um período de ociosidade." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Tempo de ociosidade" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Unidade de tempo de ociosidade" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Configurações" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "h" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "min" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "h" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "min" #~ msgid "Enable debug" #~ msgstr "Ativar debug" diff --git a/applications/luci-app-hd-idle/po/pt_BR/hd_idle.po b/applications/luci-app-hd-idle/po/pt_BR/hd_idle.po index 42ee9b44d..a6168e573 100644 --- a/applications/luci-app-hd-idle/po/pt_BR/hd_idle.po +++ b/applications/luci-app-hd-idle/po/pt_BR/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "X-Generator: Pootle 2.0.4\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disco" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Habilitar" @@ -25,12 +29,12 @@ msgstr "Habilitar" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -38,27 +42,45 @@ msgstr "" "HDD Idle é um programa utilitário para ativar o modo \"economia de energia" "\" (spinning-down) de discos externos após um período de ociosidade." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Tempo de ociosidade" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Unidade do tempo da ociosidade" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Configurações" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "horas" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "minutos" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "horas" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "minutos" #~ msgid "Enable debug" #~ msgstr "Ativar depuração" diff --git a/applications/luci-app-hd-idle/po/ro/hd_idle.po b/applications/luci-app-hd-idle/po/ro/hd_idle.po index 6639e6469..b77b08f1f 100644 --- a/applications/luci-app-hd-idle/po/ro/hd_idle.po +++ b/applications/luci-app-hd-idle/po/ro/hd_idle.po @@ -16,11 +16,15 @@ msgstr "" "20)) ? 1 : 2);;\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disc" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Activeaza" @@ -28,12 +32,12 @@ msgstr "Activeaza" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -41,27 +45,45 @@ msgstr "" "HDD Idle este un utilitar pentru a oprit din rotatie hard disc-urile externe " "dupa o anumita perioada de inactivitate." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Timp de inactivitate" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Unitatea de timp pentru masurarea inactivitatii" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Setari" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "ore" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "minute" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "ore" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "minute" #~ msgid "Enable debug" #~ msgstr "Activeaza informatii suplimentare de tip \"debug\"" diff --git a/applications/luci-app-hd-idle/po/ru/hd_idle.po b/applications/luci-app-hd-idle/po/ru/hd_idle.po index bedc714fe..ee95d9051 100644 --- a/applications/luci-app-hd-idle/po/ru/hd_idle.po +++ b/applications/luci-app-hd-idle/po/ru/hd_idle.po @@ -15,11 +15,15 @@ msgstr "" "Project-Info: Это технический перевод, не дословный. Главное-удобный русский " "интерфейс, все проверялось в графическом режиме, совместим с другими apps\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Диск" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Включить" @@ -27,12 +31,12 @@ msgstr "Включить" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -40,22 +44,40 @@ msgstr "" "Утилита HDD Idle позволяет замедлять внешние диски после определённого " "времени бездействия." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Время бездействия" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "Единицы времени бездействия" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Настройка" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "ч" +msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "мин" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +#~ msgid "h" +#~ msgstr "ч" + +#~ msgid "min" +#~ msgstr "мин" diff --git a/applications/luci-app-hd-idle/po/sk/hd_idle.po b/applications/luci-app-hd-idle/po/sk/hd_idle.po index 3bbeb82c4..d957ae7c3 100644 --- a/applications/luci-app-hd-idle/po/sk/hd_idle.po +++ b/applications/luci-app-hd-idle/po/sk/hd_idle.po @@ -8,11 +8,15 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "" @@ -20,33 +24,45 @@ msgstr "" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" diff --git a/applications/luci-app-hd-idle/po/sv/hd_idle.po b/applications/luci-app-hd-idle/po/sv/hd_idle.po index 6e2c9c3be..26f51b408 100644 --- a/applications/luci-app-hd-idle/po/sv/hd_idle.po +++ b/applications/luci-app-hd-idle/po/sv/hd_idle.po @@ -9,11 +9,15 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "" @@ -21,33 +25,45 @@ msgstr "" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" diff --git a/applications/luci-app-hd-idle/po/templates/hd_idle.pot b/applications/luci-app-hd-idle/po/templates/hd_idle.pot index 7cdae0856..ac511d9e3 100644 --- a/applications/luci-app-hd-idle/po/templates/hd_idle.pot +++ b/applications/luci-app-hd-idle/po/templates/hd_idle.pot @@ -1,11 +1,15 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "" @@ -13,33 +17,45 @@ msgstr "" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" diff --git a/applications/luci-app-hd-idle/po/tr/hd_idle.po b/applications/luci-app-hd-idle/po/tr/hd_idle.po index c734e34ee..8e72604c6 100644 --- a/applications/luci-app-hd-idle/po/tr/hd_idle.po +++ b/applications/luci-app-hd-idle/po/tr/hd_idle.po @@ -15,11 +15,15 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Disk" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Kullanıma Aç" @@ -27,12 +31,12 @@ msgstr "Kullanıma Aç" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "Harddisk-Park" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -40,27 +44,45 @@ msgstr "" "Harddisk-Park belirli bir zaman sonra diskleri beklemeye alan bir yardımcı " "programdır" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Bekleme Zamanı" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "bekleme zamanı birimi" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Ayarlar" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "s" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "s" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "d" #~ msgid "Enable debug" #~ msgstr "Hata Ayıklama" diff --git a/applications/luci-app-hd-idle/po/uk/hd_idle.po b/applications/luci-app-hd-idle/po/uk/hd_idle.po index 9b35157f0..3f881ed6e 100644 --- a/applications/luci-app-hd-idle/po/uk/hd_idle.po +++ b/applications/luci-app-hd-idle/po/uk/hd_idle.po @@ -16,11 +16,15 @@ msgstr "" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Диск" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "Активувати" @@ -28,39 +32,53 @@ msgstr "Активувати" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 #, fuzzy msgid "HDD Idle" msgstr "HD-простій" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "Час простою" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Налаштування" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "хв" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "хв" #~ msgid "Enable debug" #~ msgstr "Активувати налагодження" diff --git a/applications/luci-app-hd-idle/po/vi/hd_idle.po b/applications/luci-app-hd-idle/po/vi/hd_idle.po index f0e9693cf..ec6d4a294 100644 --- a/applications/luci-app-hd-idle/po/vi/hd_idle.po +++ b/applications/luci-app-hd-idle/po/vi/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Pootle 1.1.0\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "Ổ đĩa" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 #, fuzzy msgid "Enable" msgstr "Kích hoạt debug" @@ -26,12 +30,12 @@ msgstr "Kích hoạt debug" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "HDD Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." @@ -39,29 +43,39 @@ msgstr "" "HDD Idle là một chương trình tiện ích để quay các đĩa ngoài sau một khoảng " "thời gian idle." -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 #, fuzzy msgid "Idle time" msgstr "Thời gian Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 #, fuzzy msgid "Idle time unit" msgstr "Đơn vị thời gian Idle" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "Sắp đặt" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" msgstr "" +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + #~ msgid "Enable debug" #~ msgstr "Kích hoạt debug" diff --git a/applications/luci-app-hd-idle/po/zh_Hans/hd_idle.po b/applications/luci-app-hd-idle/po/zh_Hans/hd_idle.po index 5e6977c05..19a89902f 100644 --- a/applications/luci-app-hd-idle/po/zh_Hans/hd_idle.po +++ b/applications/luci-app-hd-idle/po/zh_Hans/hd_idle.po @@ -13,11 +13,15 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "硬盘" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "开启" @@ -25,38 +29,56 @@ msgstr "开启" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "硬盘休眠" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "硬盘休眠是一个让硬盘在空闲一段时间后休眠的工具" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "空闲时间" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "空闲时间单位" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "设置" -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "小时" +msgstr "" -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "分钟" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +# Hours +#~ msgid "h" +#~ msgstr "小时" + +# Minutes (not minimum) +#~ msgid "min" +#~ msgstr "分钟" #~ msgid "Enable debug" #~ msgstr "开启调试" diff --git a/applications/luci-app-hd-idle/po/zh_Hant/hd_idle.po b/applications/luci-app-hd-idle/po/zh_Hant/hd_idle.po index be18e3e23..83e0505ab 100644 --- a/applications/luci-app-hd-idle/po/zh_Hant/hd_idle.po +++ b/applications/luci-app-hd-idle/po/zh_Hant/hd_idle.po @@ -11,11 +11,15 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Pootle 2.0.6\n" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:15 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:22 +msgid "Add new hdd setting..." +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:27 msgid "Disk" msgstr "磁碟" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:24 msgid "Enable" msgstr "啟用" @@ -23,36 +27,54 @@ msgstr "啟用" msgid "Grant UCI access for luci-app-hd-idle" msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 #: applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json:3 msgid "HDD Idle" msgstr "硬碟休眠" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:17 msgid "" "HDD Idle is a utility program for spinning-down external disks after a " "period of idle time." msgstr "硬碟休眠是控制當硬碟閒置一段時間後進入休眠模式的工具" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:21 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:32 msgid "Idle time" msgstr "休眠時間" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 msgid "Idle time unit" msgstr "休眠時間單位" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 msgid "Settings" msgstr "設定" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:39 +msgctxt "Abbreviation for days" +msgid "d" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:38 +msgctxt "Abbreviation for hours" msgid "h" -msgstr "小時" +msgstr "" -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:37 +msgctxt "Abbreviation for minutes" msgid "min" -msgstr "分鐘" +msgstr "" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:36 +msgctxt "Abbreviation for seconds" +msgid "s" +msgstr "" + +#~ msgid "h" +#~ msgstr "小時" + +#~ msgid "min" +#~ msgstr "分鐘" #~ msgid "Enable debug" #~ msgstr "啟用偵錯模式" diff --git a/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json b/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json index 3d84d19ee..9868364ef 100644 --- a/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json +++ b/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json @@ -3,9 +3,8 @@ "title": "HDD Idle", "order": 60, "action": { - "type": "cbi", - "path": "hd_idle", - "post": { "cbi.submit": true } + "type": "view", + "path": "hd_idle" }, "depends": { "acl": [ "luci-app-hd-idle" ], diff --git a/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json b/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json index 0a48a9ad8..4aa2f2997 100644 --- a/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json +++ b/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json @@ -2,6 +2,9 @@ "luci-app-hd-idle": { "description": "Grant UCI access for luci-app-hd-idle", "read": { + "file": { + "/dev": [ "list" ] + }, "uci": [ "hd-idle" ] }, "write": {