luci-app-woll: convert to client side rendering
authorJo-Philipp Wich <jo@mein.io>
Sun, 26 Jan 2020 21:48:20 +0000 (22:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 26 Jan 2020 21:48:20 +0000 (22:48 +0100)
Also make the interface option mandatory

Fixes: #3557
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
35 files changed:
applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js [new file with mode: 0644]
applications/luci-app-wol/luasrc/controller/wol.lua [deleted file]
applications/luci-app-wol/luasrc/model/cbi/wol.lua [deleted file]
applications/luci-app-wol/po/bg/wol.po
applications/luci-app-wol/po/ca/wol.po
applications/luci-app-wol/po/cs/wol.po
applications/luci-app-wol/po/de/wol.po
applications/luci-app-wol/po/el/wol.po
applications/luci-app-wol/po/en/wol.po
applications/luci-app-wol/po/es/wol.po
applications/luci-app-wol/po/fr/wol.po
applications/luci-app-wol/po/he/wol.po
applications/luci-app-wol/po/hi/wol.po
applications/luci-app-wol/po/hu/wol.po
applications/luci-app-wol/po/it/wol.po
applications/luci-app-wol/po/ja/wol.po
applications/luci-app-wol/po/ko/wol.po
applications/luci-app-wol/po/mr/wol.po
applications/luci-app-wol/po/ms/wol.po
applications/luci-app-wol/po/no/wol.po
applications/luci-app-wol/po/pl/wol.po
applications/luci-app-wol/po/pt-br/wol.po
applications/luci-app-wol/po/pt/wol.po
applications/luci-app-wol/po/ro/wol.po
applications/luci-app-wol/po/ru/wol.po
applications/luci-app-wol/po/sk/wol.po
applications/luci-app-wol/po/sv/wol.po
applications/luci-app-wol/po/templates/wol.pot
applications/luci-app-wol/po/tr/wol.po
applications/luci-app-wol/po/uk/wol.po
applications/luci-app-wol/po/vi/wol.po
applications/luci-app-wol/po/zh-cn/wol.po
applications/luci-app-wol/po/zh-tw/wol.po
applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json [new file with mode: 0644]
applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json [new file with mode: 0644]

diff --git a/applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js b/applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js
new file mode 100644 (file)
index 0000000..0eb7b4f
--- /dev/null
@@ -0,0 +1,133 @@
+'use strict';
+'require fs';
+'require ui';
+'require rpc';
+'require form';
+'require tools.widgets as widgets';
+
+return L.view.extend({
+       formdata: { wol: {} },
+
+       callHostHints: rpc.declare({
+               object: 'luci-rpc',
+               method: 'getHostHints',
+               expect: { '': {} }
+       }),
+
+       load: function() {
+               return Promise.all([
+                       L.resolveDefault(fs.stat('/usr/bin/etherwake')),
+                       L.resolveDefault(fs.stat('/usr/bin/wol')),
+                       this.callHostHints()
+               ]);
+       },
+
+       render: function(data) {
+               var has_ewk = data[0],
+                   has_wol = data[1],
+                   hosts = data[2],
+                   m, s, o;
+
+               this.formdata.has_ewk = has_ewk;
+               this.formdata.has_wol = has_wol;
+
+               m = new form.JSONMap(this.formdata, _('Wake on LAN'),
+                       _('Wake on LAN is a mechanism to remotely boot computers in the local network.'));
+
+               s = m.section(form.NamedSection, 'wol');
+
+               if (has_ewk && has_wol) {
+                       o = s.option(form.ListValue, 'executable', _('WoL program'),
+                               _('Sometimes only one of the two tools works. If one fails, try the other one'));
+
+                       o.value('/usr/bin/etherwake', 'Etherwake');
+                       o.value('/usr/bin/wol', 'WoL');
+               }
+
+               if (has_ewk) {
+                       o = s.option(widgets.DeviceSelect, 'iface', _('Network interface to use'),
+                               _('Specifies the interface the WoL packet is sent on'));
+
+                       o.rmempty = false;
+                       o.noaliases = true;
+                       o.noinactive = true;
+
+                       if (has_wol)
+                               o.depends('executable', '/usr/bin/etherwake');
+               }
+
+               o = s.option(form.Value, 'mac', _('Host to wake up'),
+                       _('Choose the host to wake up or enter a custom MAC address to use'));
+
+               o.rmempty = false;
+
+               Object.keys(hosts).sort().forEach(function(mac) {
+                       o.value(mac, E([], [ mac, ' (', E('strong', [hosts[mac].name || hosts[mac].ipv4 || hosts[mac].ipv6 || '?']), ')' ]));
+               });
+
+               if (has_ewk) {
+                       o = s.option(form.Flag, 'broadcast', ('Send to broadcast address'));
+
+                       if (has_wol)
+                               o.depends('executable', '/usr/bin/etherwake');
+               }
+
+               return m.render();
+       },
+
+       handleWakeup: function(ev) {
+               var map = document.querySelector('#maincontent .cbi-map'),
+                   data = this.formdata;
+
+               return L.dom.callClassMethod(map, 'save').then(function() {
+                       if (!data.wol.mac)
+                               return alert(_('No target host specified!'));
+
+                       var bin = data.executable || (data.has_ewk ? '/usr/bin/etherwake' : '/usr/bin/wol'),
+                           args = [];
+
+                       if (bin == '/usr/bin/etherwake') {
+                               args.push('-D', '-i', data.wol.iface);
+
+                               if (data.wol.broadcast == '1')
+                                       args.push('-b');
+
+                               args.push(data.wol.mac);
+                       }
+                       else {
+                               args.push('-v', data.wol.mac);
+                       }
+
+                       ui.showModal(_('Waking host'), [
+                               E('p', { 'class': 'spinning' }, [ 'Starting WoL utility…' ])
+                       ]);
+
+                       return fs.exec(bin, args).then(function(res) {
+                               ui.showModal(_('Waking host'), [
+                                       E('p', [ res.stdout ]),
+                                       res.stderr ? E('pre', [ res.stderr ]) : '',
+                                       E('div', { 'class': 'right' }, [
+                                               E('button', {
+                                                       'class': 'cbi-button cbi-button-primary',
+                                                       'click': ui.hideModal
+                                               }, [ _('Dismiss') ])
+                                       ])
+                               ]);
+                       }).catch(function(err) {
+                               ui.hideModal();
+                               ui.addNotification(null, [
+                                       E('p', [ _('Waking host failed: '), err ])
+                               ]);
+                       });
+               });
+       },
+
+       addFooter: function() {
+               return E('div', { 'class': 'cbi-page-actions' }, [
+                       E('button', {
+                               'class': 'cbi-button cbi-button-save',
+                               'click': L.ui.createHandlerFn(this, 'handleWakeup')
+                       }, [ _('Wake up host') ])
+               ]);
+       }
+});
diff --git a/applications/luci-app-wol/luasrc/controller/wol.lua b/applications/luci-app-wol/luasrc/controller/wol.lua
deleted file mode 100644 (file)
index 43ab84a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-module("luci.controller.wol", package.seeall)
-
-function index()
-       entry({"admin", "services", "wol"}, form("wol"), _("Wake on LAN"), 90)
-       entry({"mini", "services", "wol"}, form("wol"), _("Wake on LAN"), 90)
-end
diff --git a/applications/luci-app-wol/luasrc/model/cbi/wol.lua b/applications/luci-app-wol/luasrc/model/cbi/wol.lua
deleted file mode 100644 (file)
index 43b87dd..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
--- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
--- Licensed to the public under the Apache License 2.0.
-
-local utl = require "luci.util"
-local sys = require "luci.sys"
-local ipc = require "luci.ip"
-local fs  = require "nixio.fs"
-
-m = SimpleForm("wol", translate("Wake on LAN"),
-       translate("Wake on LAN is a mechanism to remotely boot computers in the local network."))
-
-m.submit = translate("Wake up host")
-m.reset  = false
-
-
-local has_ewk = fs.access("/usr/bin/etherwake")
-local has_wol = fs.access("/usr/bin/wol")
-
-
-s = m:section(SimpleSection)
-
-if has_ewk and has_wol then
-       bin = s:option(ListValue, "binary", translate("WoL program"),
-               translate("Sometimes only one of the two tools works. If one fails, try the other one"))
-
-       bin:value("/usr/bin/etherwake", "Etherwake")
-       bin:value("/usr/bin/wol", "WoL")
-end
-
-if has_ewk then
-       iface = s:option(ListValue, "iface", translate("Network interface to use"),
-               translate("Specifies the interface the WoL packet is sent on"))
-
-       if has_wol then
-               iface:depends("binary", "/usr/bin/etherwake")
-       end
-
-       iface:value("", translate("Broadcast on all interfaces"))
-
-       for _, e in ipairs(sys.net.devices()) do
-               if e ~= "lo" then iface:value(e) end
-       end
-end
-
-
-host = s:option(Value, "mac", translate("Host to wake up"),
-       translate("Choose the host to wake up or enter a custom MAC address to use"))
-
-sys.net.mac_hints(function(mac, name)
-       host:value(mac, "%s (%s)" %{ mac, name })
-end)
-
-if has_ewk then
-       broadcast = s:option(Flag, "broadcast",
-               translate("Send to broadcast address"))
-       if has_wol then
-               broadcast:depends("binary", "/usr/bin/etherwake")
-       end
-end
-
-function host.write(self, s, val)
-       local host = luci.http.formvalue("cbid.wol.1.mac")
-       local mac = ipc.checkmac(host)
-       if mac then
-               local cmd
-               local util = luci.http.formvalue("cbid.wol.1.binary") or (
-                       has_ewk and "/usr/bin/etherwake" or "/usr/bin/wol"
-               )
-
-               if util == "/usr/bin/etherwake" then
-                       local iface = luci.http.formvalue("cbid.wol.1.iface")
-                       local broadcast = luci.http.formvalue("cbid.wol.1.broadcast")
-                       cmd = "%s -D%s %s %q 2>&1" %{
-                               util, (iface ~= "" and " -i %s" % utl.shellquote(iface) or ""),
-                               (broadcast == "1" and " -b" or ""), mac
-                       }
-               else
-                       cmd = "%s -v %q" %{ util, mac }
-               end
-
-               local msg = "<p><strong>%s</strong><br /><br /><code>%s<br /><br />" %{
-                       translate("Starting WoL utility:"), utl.pcdata(cmd)
-               }
-
-               local p = io.popen(cmd .. " 2>&1")
-               if p then
-                       while true do
-                               local l = p:read("*l")
-                               if l then
-                                       if #l > 100 then l = l:sub(1, 100) .. "..." end
-                                       msg = msg .. l .. "<br />"
-                               else
-                                       break
-                               end
-                       end
-                       p:close()
-               end
-
-               msg = msg .. "</code></p>"
-
-               m.message = msg
-       end
-end
-
-
-return m
index 2896e79be239f05d62f950f60847a16a389424ea..a076a9ca4557bd17c59f2f56fb9e5b2dcb5c76b8 100644 (file)
@@ -11,54 +11,58 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index 193a32373d0735117febbfdf5e87ad150e709bc0..cea1cfd55e102b70ef90db07597bedfdde7c83ae 100644 (file)
@@ -15,29 +15,29 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Generator: Pootle 2.0.6\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Difon en totes les interfícies"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 "Trieu el host per a despertar o introduïu una adreça MAC personalitzada per "
 "a utilitzar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Host per a despertar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Interfície de xarxa per a utilitzar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 #, fuzzy
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
@@ -45,31 +45,41 @@ msgstr ""
 "A vegades, només una de les dues eines funciona. Si un dels falla, prova la "
 "altra."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Especifica la interfície en que s'envia el paquet WoL"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Iniciant la utilitat WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Despert en LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Despert en LAN és un mecanisme per a iniciar remotament ordinadors en la "
 "xarxa local."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Desperta al host"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Programa WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Difon en totes les interfícies"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Iniciant la utilitat WoL:"
index 040d152ff1de66187ed8d9703c4079e453a8d416..8fbe7429d7e8cc469d3877035e2db7f8c90c7cb4 100644 (file)
@@ -16,57 +16,70 @@ msgstr ""
 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
 "X-Generator: Weblate 3.10-dev\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Vysílat broadcastem na všech rozhraních"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Vyberte zařízení, které má být probuzeno, nebo zadejte jeho MAC adresu"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Adresa zařízení, které má být probuzeno"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Použité síťové rozhraní"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Odeslat na adresu všesměrového vysílání"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Někdy pro dané cílové zařízení funguje pouze jeden z nástrojů. Pokud první "
 "selže, vyzkoušejte ten druhý"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Zde se nastaví síťové rozhraní, přes které budou zasílány WoL packety"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Spouštím nástroj WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Funkce \"Wake on LAN\" umožňuje vzdáleně spouštět počítače v místní síti."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Probudit zařízení"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Program provádějící WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Vysílat broadcastem na všech rozhraních"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Odeslat na adresu všesměrového vysílání"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Spouštím nástroj WoL:"
index 1e39910adbda7d85787b50539100782ce11d4bde..74eab70be30904940251ae42197bb6e01f19b3bf 100644 (file)
@@ -16,60 +16,73 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Generator: Weblate 3.9\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Auf allen Schnittstellen senden"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 "Zu startenden Rechner selektieren oder benutzerdefinierte MAC-Adresse angeben"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Anzuschaltender Rechner"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Verwendete Schnittstelle"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "An die Broadcast-Adresse senden"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Manchmal funktioniert nur eines der beiden Programme. Wenn eines "
 "fehlschlägt, versuchen Sie das Andere"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 "Selektiert die Netzwerkschnittstelle auf der das WoL-Paket versendet wird"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Starte WoL-Programm:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake-on-LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake-on-LAN ist ein Mechanismus um Geräte im lokalen Netzwerk ferngesteuert "
 "anzuschalten."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Rechner anschalten"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "WoL-Programm"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Auf allen Schnittstellen senden"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "An die Broadcast-Adresse senden"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Starte WoL-Programm:"
index 541554daaaf0a0211b3c9ca77bb50ccc6ae56ee7..e159252104986c41ec0361c7725c8af70d24c067 100644 (file)
@@ -13,54 +13,58 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index aeb61955a013a0a8614a8041ebd8285c5005511e..f4444fb5dddfe7c9f673c9a453a34980ea3478aa 100644 (file)
@@ -11,57 +11,67 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Broadcast on all interfaces"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Choose the host to wake up or enter a custom MAC address to use"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Host to wake up"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Network interface to use"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 #, fuzzy
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Sometimes only one of both tools work. If one of fails, try the other one"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Specifies the interface the WoL packet is sent on"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Starting WoL utility:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Wake up host"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "WoL program"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Broadcast on all interfaces"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Starting WoL utility:"
index 15a8ec6b7fa9a83bab451844a5407007249fbdfc..e949330425c39154c37b4094268cea8b917dc6d6 100644 (file)
@@ -16,59 +16,72 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Generator: Weblate 3.10-dev\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Transmitir en todas las interfaces"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Elija el host a despertar o introduzca su dirección MAC"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Host a despertar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Interfaz de red a utilizar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Enviar a la dirección de transmisión"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "A veces solo una de las dos herramientas funciona. Si una falla, pruebe la "
 "otra"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Especifica la interfaz donde se envían los paquetes WoL"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Iniciando utilidad WoL:"
-
 # Wake on LAN es un término habitualmente utilizado en el español para referirse a esa misma función de encendido remoto a través de la red
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LAN es un mecanismo para iniciar equipos de forma remota en la red "
 "local."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Despertar host"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Programa WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Transmitir en todas las interfaces"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Enviar a la dirección de transmisión"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Iniciando utilidad WoL:"
index afc556cd0ce6580574721b3374771fcbd294a740..11495fb854797a5acb52eebf7ab3098b3cb6b273 100644 (file)
@@ -15,60 +15,70 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "X-Generator: Pootle 2.0.4\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Émettre sur toutes les interfaces"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Choisir l'hôte à réveiller ou entrer une adresse MAC à utiliser"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Hôte à réveiller"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Interface réseau à utiliser"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 #, fuzzy
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Parfois seul un des deux outils fonctionne. Si l'un échoue, essayez l'autre"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 "Spécifie l'interface sur laquelle le paquet <abbr title=\"Wake on LAN\">WoL</"
 "abbr> est envoyé"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Démarrer l'utilitaire <abbr title=\"Wake on LAN\">WoL</abbr> :"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LAN est un mécanisme pour démarrer à distance les ordinateurs du "
 "réseau local."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Réveiller l'hôte"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Programme <abbr title=\"Wake on LAN\">WoL</abbr>"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Émettre sur toutes les interfaces"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Démarrer l'utilitaire <abbr title=\"Wake on LAN\">WoL</abbr> :"
index 541554daaaf0a0211b3c9ca77bb50ccc6ae56ee7..e159252104986c41ec0361c7725c8af70d24c067 100644 (file)
@@ -13,54 +13,58 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index 05e8a24b31655c11db6afbb6a376ca765635ff86..4b81ba0e5d606ffd35441cf1b9068e3296e6ec3a 100644 (file)
@@ -11,54 +11,58 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index ed8ed9a19b0619619547d443638f1dba90d646e1..127459de62e1dfa6612f3bdb0a84fad2843f90e6 100644 (file)
@@ -16,61 +16,74 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Generator: Weblate 3.10-dev\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Szórás az összes interfészen"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 "Válassza ki a felélesztendő gépet, vagy adja meg a haszálandó egyedi MAC "
 "címet"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Felélesztendő gép"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Használandó interfész"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Küldés az üzenetszórási címre"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Néha csak a két eszköz egyike működik. Ha az egyik nem működik, próbálja meg "
 "a másikat"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 "Megadja azt az interfészt amelyiken keresztül a WoL csomag kiküldésre kerül"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "WoL segédprogram elindítása:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Felélesztés hálózaton keresztül"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "A felélesztés hálózaton keresztül a helyi hálózatban lévő számítógépek "
 "távoli elindítására szolgáló módszer."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Gép felélesztése"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "WoL program"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Szórás az összes interfészen"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Küldés az üzenetszórási címre"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "WoL segédprogram elindítása:"
index 19ad0ecd527d2ebf6ca672358c415391c44a87e0..90748e1b0e883526b729748e14fefb59588df4af 100644 (file)
@@ -15,27 +15,27 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Generator: Pootle 2.0.6\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Broadcast su tutte le interfacce"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Scegli l'host da \"svegliare\" o inserisci il MAC address da usare"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Host da \"svegliare\""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Interfaccia di rete da usare"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Manda a indirizzo di broadcast"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 #, fuzzy
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
@@ -43,31 +43,44 @@ msgstr ""
 "A volte solo uno dei due tools funziona. Se uno fallisce, tenta di usare il "
 "secondo"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Specifica l'interfaccia su cui il pacchetto \"magico\" WoL è inviato"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Avvia l'utility WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LAN è un meccanismo che permette di avviare da remoto i computer "
 "nella rete locale"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Sveglia Host"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Programma WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Broadcast su tutte le interfacce"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Manda a indirizzo di broadcast"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Avvia l'utility WoL:"
index 4474a310f57680e5ed3a48d216fd522ab2d9c689..b5370dd690783163b0ad1b798eae926f80faeec9 100644 (file)
@@ -15,58 +15,71 @@ msgstr ""
 "Plural-Forms: nplurals=1; plural=0;\n"
 "X-Generator: Poedit 1.8.11\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "全てのインターフェースへブロードキャスト"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "起動するホストのMACアドレスを選択または入力してください"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "起動するホストを指定"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "使用するネットワークインターフェース"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "ブロードキャスト アドレスに送信する"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "片方のツールのみが動作する場合があるため、片方が失敗する場合は別のツールを試"
 "してみてください。"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "WoLパケットを送信するインタフェースを指定"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "WoLユーティリティを起動:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LANはローカルネットワーク内のコンピュータを遠隔で起動させることができ"
 "る機能です。"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "ホストを起動"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "WoLプログラム"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "全てのインターフェースへブロードキャスト"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "ブロードキャスト アドレスに送信する"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "WoLユーティリティを起動:"
index 96b8f577940def43f6a62b3d9cb96d1853bee8fb..409b26323314ce6b7e29d1c5ae907bf7201d9946 100644 (file)
@@ -11,54 +11,58 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index 74657c6a15bd5d008bd6754939b9c5cdbd5b87c7..0e99321b4cb6c263f8521c1861bc59637c90c3df 100644 (file)
@@ -11,54 +11,58 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index adc2b9254178cbaab5b55e958746fb69d681039b..0731e1f94e4cf2b03ab4f55c85d5882aa72b0c06 100644 (file)
@@ -12,54 +12,58 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index ca30260c971844c6774970da6de64e2c074adc1d..775fcd61047a38cd8906408433c13d0ced5a7f8d 100644 (file)
@@ -4,29 +4,29 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Send på alle grensesnitt"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 "Velg hvilken vert som skal startes opp, eller angi en MAC adresse som skal "
 "brukes"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Vert som skal startes opp"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Nettverksgrensesnitt"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 #, fuzzy
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
@@ -34,31 +34,41 @@ msgstr ""
 "Noen ganger virker bare ett av disse verktøyene. Hvis ett av de ikke lykkes "
 "med å starte opp verten kan du prøve det andre."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Angir grensesnittet som WoL pakken blir sendt ut på"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Starter WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LAN er en mekanisme for å starte opp datamaskiner i det lokale "
 "nettverket."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Start vert"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "WoL programm"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Send på alle grensesnitt"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Starter WoL:"
index ff85b08a0f694618bc444c54e1ec5871560c4a82..8e0bb618597da953ea7e67f675d21facd03b9818 100644 (file)
@@ -17,58 +17,71 @@ msgstr ""
 "|| n%100>=20) ? 1 : 2;\n"
 "X-Generator: Weblate 3.10.1\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Rozgłaszaj na wszystkie interfejsy"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Wybierz hosta z listy lub podaj własny adres MAC maszyny do wybudzenia"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Host do wybudzenia"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Użyty interfejs sieciowy"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Wyślij na adres rozgłoszeniowy"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Czasem działa tylko jedno z narzędzi. Jeżeli jedno z nich nie zadziała, "
 "proszę użyć drugiego"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Definiuje interfejs, na który będzie wysłany pakiet WoL"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Uruchamianie narzędzia WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "\"Wake on LAN\" to mechanizm służący do zdalnego włączania komputerów w "
 "sieci lokalnej."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Wybudź hosta"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Narzędzie WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Rozgłaszaj na wszystkie interfejsy"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Wyślij na adres rozgłoszeniowy"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Uruchamianie narzędzia WoL:"
index e9ed10bd0d3dcfc8cbdc46f89e9a3d9e68cca78a..239c27538bf0f3d3ea34f94883246bc5bab15091 100644 (file)
@@ -15,58 +15,71 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "X-Generator: Poedit 1.8.11\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Broadcast em todas as interfaces"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Escolha o computador para acordar ou entre com um endereço MAC"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Computador para acordar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Interfaces de rede para usar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Enviar para o endereço de broadcast"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Algumas vezes, somente uma das duas ferramentas funciona. Se uma delas "
 "falhar, tente a outra"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Especifica a interface para onde os pacotes de WoL serão enviados"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Iniciando utilitário WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LAN é um mecanismo para acordar/ligar remotamente computadores na "
 "rede local."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Acorda um computador"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Programa WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Broadcast em todas as interfaces"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Enviar para o endereço de broadcast"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Iniciando utilitário WoL:"
index a56ec4b3fdb55b1f8581c6c68264780a2f645548..136f2abd15310600d689496e07d4e8cf0206667e 100644 (file)
@@ -16,56 +16,69 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Generator: Weblate 3.10-dev\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Broadcast em todas as interfaces"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Escolha ao host a acordar ou escreva um MAC personalizado a ser usado"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Host a acordar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Interface de rede a usar"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Enviar para o endereço de broadcast"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr "Às vezes só uma das ferramentas funciona. Se uma falhar, tente a outra"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Especifica a interface pela qual é enviado o pacota WoL"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "A iniciar a ferramenta WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Wake on LAN é um mecanismo para remotamente iniciar computadores numa rede "
 "local."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Acordar host"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Programa de WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Broadcast em todas as interfaces"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Enviar para o endereço de broadcast"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "A iniciar a ferramenta WoL:"
index 2c7277cc390d61f974ee934ab42d7ae1be83d526..f044d8cfc86702d4711b44130e9bdf5abcc3d759 100644 (file)
@@ -16,27 +16,27 @@ msgstr ""
 "20)) ? 1 : 2);;\n"
 "X-Generator: Pootle 2.0.4\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Broadcast pe toate interfetele"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "Alege statie pentru \"trezire\" sau introdu o adresa MAC de folosit"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Statie pentru \"trezire\""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Interfata de retea pentru utilizare"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 #, fuzzy
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
@@ -44,31 +44,41 @@ msgstr ""
 "Uneori doar una dintre metode functioneaza. Daca se intampla, incearc-o pe "
 "cealalta"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Specifica interfata prin care pachetele WoL sunt trimise"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Pornire utilitar WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Activarea pe LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Activarea pe LAN e un mecanism pentru a porni de la distanta computere de pe "
 "retea."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Statie de \"trezire\""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Program WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Broadcast pe toate interfetele"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Pornire utilitar WoL:"
index efaf9217316e39b8f329741fa35069a02969d033..ca55843dace04d66b180a527cf1a314edf01a77f 100644 (file)
@@ -16,50 +16,45 @@ msgstr ""
 "Project-Info: Это технический перевод, не дословный. Главное-удобный русский "
 "интерфейс, все проверялось в графическом режиме, совместим с другими apps\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Использовать широковещательную передачу на все интерфейсы"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 "Выберете хост который необходимо разбудить.<br/> Можно использовать MAC-"
 "адрес или имя хоста."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Выбрать хост"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Выбрать Сетевой интерфейс"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Отправить на<br />широковещательный<br />адрес"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Иногда работает только один из двух инструментов. Если один терпит неудачу, "
 "попробуйте другой."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Задать сетевой интерфейс, по которому будут посланы пакеты WoL."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Запускаю утилиту WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Проснись по локальной сети"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
@@ -69,10 +64,28 @@ msgstr ""
 ">Материнская плата компьютера должна иметь поддержку WoL и соответственно "
 "настроенный биос."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Разбудить хост"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Утилита WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Использовать широковещательную передачу на все интерфейсы"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Отправить на<br />широковещательный<br />адрес"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Запускаю утилиту WoL:"
index b20c3dd1b13083658dcb0ae40af920b367cd47f9..20081c25cb895d28a7d5f0baffd400f034bf73c6 100644 (file)
@@ -8,54 +8,58 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index 93615f2b183ce4dbd45a789feca5dd390683df82..d7b31ac4a770ca71cbaf3403709520176e81de9c 100644 (file)
@@ -9,60 +9,73 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Sänd i alla gränssnitt"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 "Välj värden som ska väckas upp eller fyll i en anpassad MAC-adress att "
 "använda"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Värd att väcka upp"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Nätverksgränssnitt att använda"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Skicka till sändningsadress"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Ibland så fungerar bara en av de två verktygen. Prova med den andra om den "
 "första misslyckades"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Anger gränssnittet som fjärrstartspaketet skickas med"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Startar hjälpprogrammet för fjärrstyrning av uppstart:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Fjärrstyrning av uppstart"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Fjärrstyrning av uppstart är en mekanism för att starta upp datorer via "
 "fjärrstyrning i det lokala nätverket."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Väck upp värden"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Program för fjärrstart"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Sänd i alla gränssnitt"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Skicka till sändningsadress"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Startar hjälpprogrammet för fjärrstyrning av uppstart:"
index 53528aee4d8fe95bb13a20a19836fc2cd5867b35..7d9e76e275ea1c48e02649f5b3cab3e093bbec62 100644 (file)
@@ -1,54 +1,58 @@
 msgid ""
 msgstr "Content-Type: text/plain; charset=UTF-8"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index 91d87dcc145539c371b9626200743c73bd314407..3bc68ec6d0c55ef40102734c18ead357b8fdcb7d 100644 (file)
@@ -13,54 +13,58 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index d20ea96745cb533bd94831921a4c1b524e669c32..f976a788674049147f81cb2af5ade9bb94b83279 100644 (file)
@@ -13,60 +13,73 @@ msgstr ""
 "4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
 "X-Generator: Weblate 3.10-dev\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "Широкомовна трансляція на всіх інтерфейсах"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 "Виберіть комп'ютер, який необхідно розбудити або введіть користувацьку MAC-"
 "адресу"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "Комп'ютер, який необхідно розбудити"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "Використовувати мережевий інтерфейс"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "Надіслати на широкомовну адресу"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 "Іноді працює тільки одна з цих двох утиліт. Якщо одна з них не працює, "
 "спробуйте іншу."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "Визначає інтерфейс, яким буде надіслано пакет WoL"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "Запуск утиліти WoL:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "Wake on LAN"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 "Пробудження через LAN (Wake on LAN) є технологією, що дає змогу віддалено "
 "\"будити\" (вмикати) комп'ютери у локальній мережі."
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "Розбудити комп'ютер"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "Программа WoL"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "Широкомовна трансляція на всіх інтерфейсах"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "Надіслати на широкомовну адресу"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "Запуск утиліти WoL:"
index 91d87dcc145539c371b9626200743c73bd314407..3bc68ec6d0c55ef40102734c18ead357b8fdcb7d 100644 (file)
@@ -13,54 +13,58 @@ msgstr ""
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
+msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
-msgid "Choose the host to wake up or enter a custom MAC address to use"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr ""
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr ""
index 9177133b1ec8db9084fb638f528235146652705a..7c67523d06fb04519f0eaaecf669fa53efe8ef1a 100644 (file)
@@ -16,54 +16,67 @@ msgstr ""
 "Plural-Forms: nplurals=1; plural=0;\n"
 "X-Generator: Gtranslator 2.91.7\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "向所有接口广播"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "选择要唤醒的主机,或者输入自定义 MAC 地址"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "选择要唤醒的主机"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "选择使用的网络接口"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "发送到广播地址"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr "这两个工具有时只有一个生效。如果其中一个失效,请尝试另一个"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "限定将发送网络唤醒数据包的接口"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "正在启动网络唤醒工具:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "网络唤醒"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr "网络唤醒是一个远程启动本地网络内计算机的机制。"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "唤醒主机"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "网络唤醒程序"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "向所有接口广播"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "发送到广播地址"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "正在启动网络唤醒工具:"
index ab7aec44c97e7f956c31b9abe6a21cc5806af38f..69769fef6cd7c259bf9636e7a8c2f3b656c784b9 100644 (file)
@@ -16,54 +16,67 @@ msgstr ""
 "Plural-Forms: nplurals=1; plural=0;\n"
 "X-Generator: Gtranslator 2.91.7\n"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:38
-msgid "Broadcast on all interfaces"
-msgstr "向所有介面廣播"
-
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:47
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:60
 msgid "Choose the host to wake up or enter a custom MAC address to use"
 msgstr "選擇要喚醒的主機,或者輸入自訂 MAC 位址"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:46
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:113
+msgid "Dismiss"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:59
 msgid "Host to wake up"
 msgstr "選擇要喚醒的主機"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:31
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:48
 msgid "Network interface to use"
 msgstr "選擇使用的網路介面"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:55
-msgid "Send to broadcast address"
-msgstr "傳送到廣播位址"
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:84
+msgid "No target host specified!"
+msgstr ""
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:24
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:41
 msgid ""
 "Sometimes only one of the two tools works. If one fails, try the other one"
 msgstr "這兩個工具有時只有一個生效。如果其中一個失效,請嘗試另一個"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:32
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:49
 msgid "Specifies the interface the WoL packet is sent on"
 msgstr "限定將傳送網路喚醒資料包的介面"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:82
-msgid "Starting WoL utility:"
-msgstr "正在啟動網路喚醒工具:"
-
-#: applications/luci-app-wol/luasrc/controller/wol.lua:4
-#: applications/luci-app-wol/luasrc/controller/wol.lua:5
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:9
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:34
+#: applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json:3
 msgid "Wake on LAN"
 msgstr "網路喚醒"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:10
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:35
 msgid ""
 "Wake on LAN is a mechanism to remotely boot computers in the local network."
 msgstr "網路喚醒是一個遠端啟動本地網路內計算機的機制。"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:12
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:130
 msgid "Wake up host"
 msgstr "喚醒主機"
 
-#: applications/luci-app-wol/luasrc/model/cbi/wol.lua:23
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:101
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:106
+msgid "Waking host"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:119
+msgid "Waking host failed:"
+msgstr ""
+
+#: applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js:40
 msgid "WoL program"
 msgstr "網路喚醒程式"
+
+#~ msgid "Broadcast on all interfaces"
+#~ msgstr "向所有介面廣播"
+
+#~ msgid "Send to broadcast address"
+#~ msgstr "傳送到廣播位址"
+
+#~ msgid "Starting WoL utility:"
+#~ msgstr "正在啟動網路喚醒工具:"
diff --git a/applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json b/applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json
new file mode 100644 (file)
index 0000000..ece5132
--- /dev/null
@@ -0,0 +1,10 @@
+{
+       "admin/services/wol": {
+               "title": "Wake on LAN",
+               "order": 90,
+               "action": {
+                       "type": "view",
+                       "path": "wol"
+               }
+       }
+}
diff --git a/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json b/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json
new file mode 100644 (file)
index 0000000..62a1eb9
--- /dev/null
@@ -0,0 +1,16 @@
+{
+       "luci-app-wol": {
+               "description": "Grant access to wake-on-lan executables",
+               "read": {
+                       "ubus": {
+                               "luci-rpc": [ "getHostHints" ]
+                       }
+               },
+               "write": {
+                       "file": {
+                               "/usr/bin/etherwake": [ "exec" ],
+                               "/usr/bin/wol": [ "exec" ]
+                       }
+               }
+       }
+}