diff options
Diffstat (limited to 'applications/luci-app-hd-idle')
37 files changed, 1221 insertions, 566 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/controller/hd_idle.lua b/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua deleted file mode 100644 index 9a981acac3..0000000000 --- a/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua +++ /dev/null @@ -1,15 +0,0 @@ --- Copyright 2008 Yanira <forum-2008@email.de> --- Licensed to the public under the Apache License 2.0. - -module("luci.controller.hd_idle", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/hd-idle") then - return - end - - local page - - page = entry({"admin", "services", "hd_idle"}, cbi("hd_idle"), _("HDD Idle"), 60) - page.dependent = true -end 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 599cc65520..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,20 +15,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -36,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 68eafb4ce5..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,20 +15,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -36,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 883c7c8d85..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,20 +13,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -34,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 bc8c102f04..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,46 +13,72 @@ 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 "Ενεργοποίηση" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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 b83c0be756..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,20 +11,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -32,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 f7016dd6d8..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,20 +13,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -34,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 eac5cdd718..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,20 +13,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -34,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 b190bd8796..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,20 +15,28 @@ 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 "אפשר" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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 +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 0a6099a427..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,20 +15,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -36,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 b4f46a9faa..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,20 +13,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -34,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 3eab2e4ffa..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,20 +13,28 @@ 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 "有効" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -34,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 ff3f19d06f..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,43 +12,61 @@ 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 "" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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 new file mode 100644 index 0000000000..1641b0e026 --- /dev/null +++ b/applications/luci-app-hd-idle/po/nb_NO/hd_idle.po @@ -0,0 +1,75 @@ +msgid "" +msgstr "" +"Last-Translator: Lars Hardy <lars.hardy@gmail.com>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: 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/htdocs/luci-static/resources/view/hd_idle.js:24 +msgid "Enable" +msgstr "Aktiver" + +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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/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 "" +"HDD Idle er et verktøy for å spinne ned eksterne disker etter en periode med " +"inaktivitet." + +#: 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/htdocs/luci-static/resources/view/hd_idle.js:35 +msgid "Idle time unit" +msgstr "Tidsenhet" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 +msgid "Settings" +msgstr "Innstillinger" + +#: 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/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 "h" +#~ msgstr "timer" + +#~ msgid "min" +#~ msgstr "minutter" + +#~ msgid "Enable debug" +#~ msgstr "Aktiver feilsøking" diff --git a/applications/luci-app-hd-idle/po/no/hd_idle.po b/applications/luci-app-hd-idle/po/no/hd_idle.po deleted file mode 100644 index cf6d7dd652..0000000000 --- a/applications/luci-app-hd-idle/po/no/hd_idle.po +++ /dev/null @@ -1,49 +0,0 @@ -msgid "" -msgstr "" -"Last-Translator: Lars Hardy <lars.hardy@gmail.com>\n" -"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 -msgid "Disk" -msgstr "Disk" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 -msgid "Enable" -msgstr "Aktiver" - -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 -msgid "HDD Idle" -msgstr "HDD Idle" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 -msgid "" -"HDD Idle is a utility program for spinning-down external disks after a " -"period of idle time." -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 -msgid "Idle time" -msgstr "Tid inaktiv" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 -msgid "Idle time unit" -msgstr "Tidsenhet" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 -msgid "Settings" -msgstr "Innstillinger" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 -msgid "h" -msgstr "timer" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 -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 981ba59f4b..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,20 +14,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -35,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-br/hd_idle.po b/applications/luci-app-hd-idle/po/pt-br/hd_idle.po deleted file mode 100644 index 1270c3e87c..0000000000 --- a/applications/luci-app-hd-idle/po/pt-br/hd_idle.po +++ /dev/null @@ -1,60 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-14 10:33+0200\n" -"PO-Revision-Date: 2011-10-08 03:12+0200\n" -"Last-Translator: luizluca <luizluca@gmail.com>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"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 -msgid "Disk" -msgstr "Disco" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 -msgid "Enable" -msgstr "Habilitar" - -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 -msgid "HDD Idle" -msgstr "HDD Idle" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 -msgid "" -"HDD Idle is a utility program for spinning-down external disks after a " -"period of idle time." -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 -msgid "Idle time" -msgstr "Tempo de ociosidade" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 -msgid "Idle time unit" -msgstr "Unidade do tempo da ociosidade" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 -msgid "Settings" -msgstr "Configurações" - -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 -msgid "h" -msgstr "horas" - -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 -msgid "min" -msgstr "minutos" - -#~ msgid "Enable debug" -#~ msgstr "Ativar depuração" 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 93b3188b8a..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,20 +13,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -34,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 new file mode 100644 index 0000000000..a6168e573b --- /dev/null +++ b/applications/luci-app-hd-idle/po/pt_BR/hd_idle.po @@ -0,0 +1,86 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-04-14 10:33+0200\n" +"PO-Revision-Date: 2011-10-08 03:12+0200\n" +"Last-Translator: luizluca <luizluca@gmail.com>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Pootle 2.0.4\n" + +#: 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/htdocs/luci-static/resources/view/hd_idle.js:24 +msgid "Enable" +msgstr "Habilitar" + +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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/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 "" +"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/htdocs/luci-static/resources/view/hd_idle.js:32 +msgid "Idle time" +msgstr "Tempo de ociosidade" + +#: 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/htdocs/luci-static/resources/view/hd_idle.js:19 +msgid "Settings" +msgstr "Configurações" + +#: 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/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 "" + +# 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 7eff28a98b..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,20 +16,28 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -37,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 32f7ea9eb9..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,20 +15,28 @@ 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 "Включить" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -36,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 65bd6f1cee..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,41 +8,61 @@ 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 "" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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 3d42df9403..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,41 +9,61 @@ 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 "" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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 528aa3d360..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,41 +1,61 @@ 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 "" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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 65c19ba4fa..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,20 +15,28 @@ 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ç" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -36,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 73ac3cd86f..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,47 +16,69 @@ 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 "Активувати" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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 0642c747f3..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,21 +13,29 @@ 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" -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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." @@ -35,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-cn/hd_idle.po b/applications/luci-app-hd-idle/po/zh-cn/hd_idle.po deleted file mode 100644 index 968bfde974..0000000000 --- a/applications/luci-app-hd-idle/po/zh-cn/hd_idle.po +++ /dev/null @@ -1,58 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-04-14 10:33+0200\n" -"PO-Revision-Date: 2012-09-03 17:57+0200\n" -"Last-Translator: nKsyn <e.nksyn@gmail.com>\n" -"Language-Team: QQ Group:75543259 <axishero@foxmail.com>\n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"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 -msgid "Disk" -msgstr "硬盘" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 -msgid "Enable" -msgstr "开启" - -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 -msgid "HDD Idle" -msgstr "硬盘休眠" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 -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 -msgid "Idle time" -msgstr "空闲时间" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 -msgid "Idle time unit" -msgstr "空闲时间单位" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 -msgid "Settings" -msgstr "设置" - -# Hours -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 -msgid "h" -msgstr "小时" - -# Minutes (not minimum) -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 -msgid "min" -msgstr "分钟" - -#~ msgid "Enable debug" -#~ msgstr "开启调试" diff --git a/applications/luci-app-hd-idle/po/zh-tw/hd_idle.po b/applications/luci-app-hd-idle/po/zh-tw/hd_idle.po deleted file mode 100644 index b4b71859a5..0000000000 --- a/applications/luci-app-hd-idle/po/zh-tw/hd_idle.po +++ /dev/null @@ -1,54 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2013-08-07 15:47+0200\n" -"Last-Translator: Ethan <ethan42411@gmail.com>\n" -"Language-Team: none\n" -"Language: zh_TW\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"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 -msgid "Disk" -msgstr "磁碟" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:13 -msgid "Enable" -msgstr "啟用" - -#: applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua:13 -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:6 -msgid "HDD Idle" -msgstr "硬碟休眠" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:7 -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 -msgid "Idle time" -msgstr "休眠時間" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:23 -msgid "Idle time unit" -msgstr "休眠時間單位" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:10 -msgid "Settings" -msgstr "設定" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:26 -msgid "h" -msgstr "小時" - -#: applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua:25 -msgid "min" -msgstr "分鐘" - -#~ msgid "Enable debug" -#~ msgstr "啟用偵錯模式" 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 new file mode 100644 index 0000000000..19a89902f4 --- /dev/null +++ b/applications/luci-app-hd-idle/po/zh_Hans/hd_idle.po @@ -0,0 +1,84 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-04-14 10:33+0200\n" +"PO-Revision-Date: 2012-09-03 17:57+0200\n" +"Last-Translator: nKsyn <e.nksyn@gmail.com>\n" +"Language-Team: QQ Group:75543259 <axishero@foxmail.com>\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Pootle 2.0.6\n" + +#: 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/htdocs/luci-static/resources/view/hd_idle.js:24 +msgid "Enable" +msgstr "开启" + +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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/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/htdocs/luci-static/resources/view/hd_idle.js:32 +msgid "Idle time" +msgstr "空闲时间" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 +msgid "Idle time unit" +msgstr "空闲时间单位" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 +msgid "Settings" +msgstr "设置" + +#: 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/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 "" + +# 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 new file mode 100644 index 0000000000..83e0505abe --- /dev/null +++ b/applications/luci-app-hd-idle/po/zh_Hant/hd_idle.po @@ -0,0 +1,80 @@ +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"PO-Revision-Date: 2013-08-07 15:47+0200\n" +"Last-Translator: Ethan <ethan42411@gmail.com>\n" +"Language-Team: none\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Pootle 2.0.6\n" + +#: 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/htdocs/luci-static/resources/view/hd_idle.js:24 +msgid "Enable" +msgstr "啟用" + +#: applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json:3 +msgid "Grant UCI access for luci-app-hd-idle" +msgstr "" + +#: 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/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/htdocs/luci-static/resources/view/hd_idle.js:32 +msgid "Idle time" +msgstr "休眠時間" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:35 +msgid "Idle time unit" +msgstr "休眠時間單位" + +#: applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js:19 +msgid "Settings" +msgstr "設定" + +#: 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/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 "h" +#~ msgstr "小時" + +#~ msgid "min" +#~ msgstr "分鐘" + +#~ msgid "Enable debug" +#~ msgstr "啟用偵錯模式" diff --git a/applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle b/applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle deleted file mode 100755 index 92f4356367..0000000000 --- a/applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -uci -q batch <<-EOF >/dev/null - delete ucitrack.@hd-idle[-1] - add ucitrack hd-idle - set ucitrack.@hd-idle[-1].init=hd-idle - commit ucitrack -EOF - -rm -f /tmp/luci-indexcache -exit 0 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 new file mode 100644 index 0000000000..9868364ef2 --- /dev/null +++ b/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json @@ -0,0 +1,14 @@ +{ + "admin/services/hd_idle": { + "title": "HDD Idle", + "order": 60, + "action": { + "type": "view", + "path": "hd_idle" + }, + "depends": { + "acl": [ "luci-app-hd-idle" ], + "uci": { "hd-idle": true } + } + } +} 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 new file mode 100644 index 0000000000..4aa2f2997e --- /dev/null +++ b/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json @@ -0,0 +1,14 @@ +{ + "luci-app-hd-idle": { + "description": "Grant UCI access for luci-app-hd-idle", + "read": { + "file": { + "/dev": [ "list" ] + }, + "uci": [ "hd-idle" ] + }, + "write": { + "uci": [ "hd-idle" ] + } + } +} |