luci-app-hd-idle: convert to client side rendering 4037/head
authorVan Waholtz <vanwaholtz@gmail.com>
Sat, 9 May 2020 02:04:25 +0000 (10:04 +0800)
committerVan Waholtz <vanwaholtz@gmail.com>
Mon, 11 May 2020 14:07:06 +0000 (22:07 +0800)
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
31 files changed:
applications/luci-app-hd-idle/Makefile
applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js [new file with mode: 0644]
applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua [deleted file]
applications/luci-app-hd-idle/po/ca/hd_idle.po
applications/luci-app-hd-idle/po/cs/hd_idle.po
applications/luci-app-hd-idle/po/de/hd_idle.po
applications/luci-app-hd-idle/po/el/hd_idle.po
applications/luci-app-hd-idle/po/en/hd_idle.po
applications/luci-app-hd-idle/po/es/hd_idle.po
applications/luci-app-hd-idle/po/fr/hd_idle.po
applications/luci-app-hd-idle/po/he/hd_idle.po
applications/luci-app-hd-idle/po/hu/hd_idle.po
applications/luci-app-hd-idle/po/it/hd_idle.po
applications/luci-app-hd-idle/po/ja/hd_idle.po
applications/luci-app-hd-idle/po/ms/hd_idle.po
applications/luci-app-hd-idle/po/nb_NO/hd_idle.po
applications/luci-app-hd-idle/po/pl/hd_idle.po
applications/luci-app-hd-idle/po/pt/hd_idle.po
applications/luci-app-hd-idle/po/pt_BR/hd_idle.po
applications/luci-app-hd-idle/po/ro/hd_idle.po
applications/luci-app-hd-idle/po/ru/hd_idle.po
applications/luci-app-hd-idle/po/sk/hd_idle.po
applications/luci-app-hd-idle/po/sv/hd_idle.po
applications/luci-app-hd-idle/po/templates/hd_idle.pot
applications/luci-app-hd-idle/po/tr/hd_idle.po
applications/luci-app-hd-idle/po/uk/hd_idle.po
applications/luci-app-hd-idle/po/vi/hd_idle.po
applications/luci-app-hd-idle/po/zh_Hans/hd_idle.po
applications/luci-app-hd-idle/po/zh_Hant/hd_idle.po
applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json
applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json

index cba55796dd4015305e6d60c9502b599fcddcafad..07d5cadd99e6806fc2230324711a3ce3ac98b592 100644 (file)
@@ -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 (file)
index 0000000..f510229
--- /dev/null
@@ -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 (file)
index c15fdc0..0000000
+++ /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
index 7067668df473161a48733e9507080edc0874c37d..9d155751d9421ec0056727e1c4795a9032a5929d 100644 (file)
@@ -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ó"
index c63a67ccb671310a05c2fc9ed8bb95aef7dfa0ce..6c7fee1ad887137142c7b792b71a2d931972e2b9 100644 (file)
@@ -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í"
index d1076571793d4cf472ccd89c87cca1eee52857f3..518cc886c5ce17176e656baeb2f43bc863db41c3 100644 (file)
@@ -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"
index 2bdb7cd4b921495dcb47f1ee08d7c8534cad6695..c6b514e041a5a6f82619339c0518cfb15e32b0aa 100644 (file)
@@ -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 "Ενεργοποίηση αποσφαλμάτωσης"
index b84808da6b059e786c4f902e25d09278b66b1d7a..3e1e1d431ddb084cc22f2ee9368a285aa46279b0 100644 (file)
@@ -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"
index 336d377b91e28f321127b5ef8d1737dbb4a2a279..1b60fdc96c792b9819b3effb71b7dd39409350ff 100644 (file)
@@ -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"
index ac8635e46553530400e0eb4a901d8b3510980b88..e37d1c73d265aeb15b9b35e893433ed13bcb7990 100644 (file)
@@ -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"
index 64749abcf9f5c778c22320d390a21238e322ab8c..595db85d0a761c575f48bd66e54f49942de72ac6 100644 (file)
@@ -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 "אפשר ניפוי שגיאות"
index e055b1c62e42e4ce5307755be7e51e2a2200db3f..d72dfa467982f126aa188e312c78bbae5188e0f8 100644 (file)
@@ -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"
index 78344557153fda922d7dd6d423ec95f63950f8f4..ded25fb17e45b996e496319f7f5bc8fe1a53de44 100644 (file)
@@ -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"
index 484fe38906347fffd977ead086e38cf0b467278f..1223b45fc30b3ae82b26a03dfd80db12a1f267a3 100644 (file)
@@ -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 "デバッグを有効にする"
index fb4e0b6d2e581f6c2e88c1f75cb32a5ce920685b..50d7ce5a1052a3f3041d0f8b1cfe6daffc708f1e 100644 (file)
@@ -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 ""
index 98131230dd944d691b1aad0a43c5d93d0a6c06d7..1641b0e0267407ddaf234f329c44107782fb938b 100644 (file)
@@ -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"
index ea57fc8dac5f8be056ddfdae5ba9ab33bac5d5a2..5b5c6c2c7c9bba632edf8ff55ae0a6ef09dbca9b 100644 (file)
@@ -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"
index 2a2a852a32e04c015cb433427441661006d4a2be..8062281f22819bf2ea67049781187e3f5cda3768 100644 (file)
@@ -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"
index 42ee9b44dc575784be91581e1cf2e4556a2330a9..a6168e573b95b71d26c1681b31229d640dcf887f 100644 (file)
@@ -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"
index 6639e64691a91d0bdc4f976aac109114e16436d6..b77b08f1fd979793fb0da35a8dcca2c06778d100 100644 (file)
@@ -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\""
index bedc714fe82af7e5d7ead5ebfddfc33fd122c2cf..ee95d9051198b3b0f0f0c5edc83d1dd9c6c98624 100644 (file)
@@ -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 "мин"
index 3bbeb82c47d399a58128b1c7430735af16d6c48c..d957ae7c337c499145767448cc0577af586ecdf6 100644 (file)
@@ -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 ""
index 6e2c9c3be68141828f4fd5baa22de1727307c5d3..26f51b4086bffbfa7db001b868826fa999042b0f 100644 (file)
@@ -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 ""
index 7cdae0856c01b4e8616a85217ed0d0606dc39f59..ac511d9e322bf47e2a3ec7f24974e89f8468d066 100644 (file)
@@ -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 ""
index c734e34ee7ee04e8db25722c160936274a9335a6..8e72604c68ee3d08a2f472504a42d8ed8738ba5f 100644 (file)
@@ -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"
index 9b35157f0cfd5e230019b9929a5a89599927072f..3f881ed6e1998dfc066ce9dd2452589243f353f0 100644 (file)
@@ -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 "Активувати налагодження"
index f0e9693cfb4e6416ac724d80da0705f6a271f055..ec6d4a2942138e39397a74a902533952942e1789 100644 (file)
@@ -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"
index 5e6977c057930868ad4156ebac31249f40082759..19a89902f4fc514dd7d6eb2397c1116247e9c767 100644 (file)
@@ -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 "开启调试"
index be18e3e23bd90714d2a6b969b392eb1610c28dd1..83e0505abe7133d10178f5bc75031ad481622ba1 100644 (file)
@@ -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 "啟用偵錯模式"
index 3d84d19ee17851c2c910bcf511c02cc41ae6dee1..9868364ef24b39a1336b349ee1d85373028f79a3 100644 (file)
@@ -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" ],
index 0a48a9ad87e5e2aeb6313c45dbd3fe050bd777f5..4aa2f2997e5a8b09259bbaf42077404f958bbcc8 100644 (file)
@@ -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": {