summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-hd-idle
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-hd-idle')
-rw-r--r--applications/luci-app-hd-idle/Makefile2
-rw-r--r--applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js44
-rw-r--r--applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua29
-rw-r--r--applications/luci-app-hd-idle/po/ca/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/cs/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/de/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/el/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/en/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/es/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/fr/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/he/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/hu/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/it/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/ja/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/ms/hd_idle.po36
-rw-r--r--applications/luci-app-hd-idle/po/nb_NO/hd_idle.po44
-rw-r--r--applications/luci-app-hd-idle/po/pl/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/pt/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/pt_BR/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/ro/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/ru/hd_idle.po44
-rw-r--r--applications/luci-app-hd-idle/po/sk/hd_idle.po34
-rw-r--r--applications/luci-app-hd-idle/po/sv/hd_idle.po34
-rw-r--r--applications/luci-app-hd-idle/po/templates/hd_idle.pot34
-rw-r--r--applications/luci-app-hd-idle/po/tr/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/uk/hd_idle.po42
-rw-r--r--applications/luci-app-hd-idle/po/vi/hd_idle.po36
-rw-r--r--applications/luci-app-hd-idle/po/zh_Hans/hd_idle.po48
-rw-r--r--applications/luci-app-hd-idle/po/zh_Hant/hd_idle.po44
-rw-r--r--applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json5
-rw-r--r--applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json3
31 files changed, 899 insertions, 348 deletions
diff --git a/applications/luci-app-hd-idle/Makefile b/applications/luci-app-hd-idle/Makefile
index cba55796dd..07d5cadd99 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 0000000000..f510229523
--- /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 c15fdc028a..0000000000
--- a/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua
+++ /dev/null
@@ -1,29 +0,0 @@
--- Copyright 2008 Yanira <forum-2008@email.de>
--- 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 7067668df4..9d155751d9 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 c63a67ccb6..6c7fee1ad8 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 d107657179..518cc886c5 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 2bdb7cd4b9..c6b514e041 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 b84808da6b..3e1e1d431d 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 336d377b91..1b60fdc96c 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 ac8635e465..e37d1c73d2 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 64749abcf9..595db85d0a 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 e055b1c62e..d72dfa4679 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 7834455715..ded25fb17e 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 484fe38906..1223b45fc3 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 fb4e0b6d2e..50d7ce5a10 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 98131230dd..1641b0e026 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 ea57fc8dac..5b5c6c2c7c 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 2a2a852a32..8062281f22 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 42ee9b44dc..a6168e573b 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 6639e64691..b77b08f1fd 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 bedc714fe8..ee95d90511 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 3bbeb82c47..d957ae7c33 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 6e2c9c3be6..26f51b4086 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 7cdae0856c..ac511d9e32 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 c734e34ee7..8e72604c68 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 9b35157f0c..3f881ed6e1 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 f0e9693cfb..ec6d4a2942 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 5e6977c057..19a89902f4 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 be18e3e23b..83e0505abe 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 3d84d19ee1..9868364ef2 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 0a48a9ad87..4aa2f2997e 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": {