diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-01-26 22:48:20 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-01-26 22:48:20 +0100 |
commit | 40ee3fa3ce1742d625123be11f41df04cf353d7a (patch) | |
tree | 144118f66fa49e1ccf402a7fe34991c2a104cbd2 /applications | |
parent | b34d08ca9ab3a4b9b09eeef7e1c234802e860a47 (diff) |
luci-app-woll: convert to client side rendering
Also make the interface option mandatory
Fixes: #3557
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications')
35 files changed, 1068 insertions, 745 deletions
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 index 000000000..0eb7b4f7c --- /dev/null +++ b/applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js @@ -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 index 43ab84ab2..000000000 --- a/applications/luci-app-wol/luasrc/controller/wol.lua +++ /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 index 43b87dda9..000000000 --- a/applications/luci-app-wol/luasrc/model/cbi/wol.lua +++ /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 diff --git a/applications/luci-app-wol/po/bg/wol.po b/applications/luci-app-wol/po/bg/wol.po index 2896e79be..a076a9ca4 100644 --- a/applications/luci-app-wol/po/bg/wol.po +++ b/applications/luci-app-wol/po/bg/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/ca/wol.po b/applications/luci-app-wol/po/ca/wol.po index 193a32373..cea1cfd55 100644 --- a/applications/luci-app-wol/po/ca/wol.po +++ b/applications/luci-app-wol/po/ca/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/cs/wol.po b/applications/luci-app-wol/po/cs/wol.po index 040d152ff..8fbe7429d 100644 --- a/applications/luci-app-wol/po/cs/wol.po +++ b/applications/luci-app-wol/po/cs/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/de/wol.po b/applications/luci-app-wol/po/de/wol.po index 1e39910ad..74eab70be 100644 --- a/applications/luci-app-wol/po/de/wol.po +++ b/applications/luci-app-wol/po/de/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/el/wol.po b/applications/luci-app-wol/po/el/wol.po index 541554daa..e15925210 100644 --- a/applications/luci-app-wol/po/el/wol.po +++ b/applications/luci-app-wol/po/el/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/en/wol.po b/applications/luci-app-wol/po/en/wol.po index aeb61955a..f4444fb5d 100644 --- a/applications/luci-app-wol/po/en/wol.po +++ b/applications/luci-app-wol/po/en/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/es/wol.po b/applications/luci-app-wol/po/es/wol.po index 15a8ec6b7..e94933042 100644 --- a/applications/luci-app-wol/po/es/wol.po +++ b/applications/luci-app-wol/po/es/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/fr/wol.po b/applications/luci-app-wol/po/fr/wol.po index afc556cd0..11495fb85 100644 --- a/applications/luci-app-wol/po/fr/wol.po +++ b/applications/luci-app-wol/po/fr/wol.po @@ -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> :" diff --git a/applications/luci-app-wol/po/he/wol.po b/applications/luci-app-wol/po/he/wol.po index 541554daa..e15925210 100644 --- a/applications/luci-app-wol/po/he/wol.po +++ b/applications/luci-app-wol/po/he/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/hi/wol.po b/applications/luci-app-wol/po/hi/wol.po index 05e8a24b3..4b81ba0e5 100644 --- a/applications/luci-app-wol/po/hi/wol.po +++ b/applications/luci-app-wol/po/hi/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/hu/wol.po b/applications/luci-app-wol/po/hu/wol.po index ed8ed9a19..127459de6 100644 --- a/applications/luci-app-wol/po/hu/wol.po +++ b/applications/luci-app-wol/po/hu/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/it/wol.po b/applications/luci-app-wol/po/it/wol.po index 19ad0ecd5..90748e1b0 100644 --- a/applications/luci-app-wol/po/it/wol.po +++ b/applications/luci-app-wol/po/it/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/ja/wol.po b/applications/luci-app-wol/po/ja/wol.po index 4474a310f..b5370dd69 100644 --- a/applications/luci-app-wol/po/ja/wol.po +++ b/applications/luci-app-wol/po/ja/wol.po @@ -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ユーティリティを起動:" diff --git a/applications/luci-app-wol/po/ko/wol.po b/applications/luci-app-wol/po/ko/wol.po index 96b8f5779..409b26323 100644 --- a/applications/luci-app-wol/po/ko/wol.po +++ b/applications/luci-app-wol/po/ko/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/mr/wol.po b/applications/luci-app-wol/po/mr/wol.po index 74657c6a1..0e99321b4 100644 --- a/applications/luci-app-wol/po/mr/wol.po +++ b/applications/luci-app-wol/po/mr/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/ms/wol.po b/applications/luci-app-wol/po/ms/wol.po index adc2b9254..0731e1f94 100644 --- a/applications/luci-app-wol/po/ms/wol.po +++ b/applications/luci-app-wol/po/ms/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/no/wol.po b/applications/luci-app-wol/po/no/wol.po index ca30260c9..775fcd610 100644 --- a/applications/luci-app-wol/po/no/wol.po +++ b/applications/luci-app-wol/po/no/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/pl/wol.po b/applications/luci-app-wol/po/pl/wol.po index ff85b08a0..8e0bb6185 100644 --- a/applications/luci-app-wol/po/pl/wol.po +++ b/applications/luci-app-wol/po/pl/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/pt-br/wol.po b/applications/luci-app-wol/po/pt-br/wol.po index e9ed10bd0..239c27538 100644 --- a/applications/luci-app-wol/po/pt-br/wol.po +++ b/applications/luci-app-wol/po/pt-br/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/pt/wol.po b/applications/luci-app-wol/po/pt/wol.po index a56ec4b3f..136f2abd1 100644 --- a/applications/luci-app-wol/po/pt/wol.po +++ b/applications/luci-app-wol/po/pt/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/ro/wol.po b/applications/luci-app-wol/po/ro/wol.po index 2c7277cc3..f044d8cfc 100644 --- a/applications/luci-app-wol/po/ro/wol.po +++ b/applications/luci-app-wol/po/ro/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/ru/wol.po b/applications/luci-app-wol/po/ru/wol.po index efaf92173..ca55843da 100644 --- a/applications/luci-app-wol/po/ru/wol.po +++ b/applications/luci-app-wol/po/ru/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/sk/wol.po b/applications/luci-app-wol/po/sk/wol.po index b20c3dd1b..20081c25c 100644 --- a/applications/luci-app-wol/po/sk/wol.po +++ b/applications/luci-app-wol/po/sk/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/sv/wol.po b/applications/luci-app-wol/po/sv/wol.po index 93615f2b1..d7b31ac4a 100644 --- a/applications/luci-app-wol/po/sv/wol.po +++ b/applications/luci-app-wol/po/sv/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/templates/wol.pot b/applications/luci-app-wol/po/templates/wol.pot index 53528aee4..7d9e76e27 100644 --- a/applications/luci-app-wol/po/templates/wol.pot +++ b/applications/luci-app-wol/po/templates/wol.pot @@ -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 "" diff --git a/applications/luci-app-wol/po/tr/wol.po b/applications/luci-app-wol/po/tr/wol.po index 91d87dcc1..3bc68ec6d 100644 --- a/applications/luci-app-wol/po/tr/wol.po +++ b/applications/luci-app-wol/po/tr/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/uk/wol.po b/applications/luci-app-wol/po/uk/wol.po index d20ea9674..f976a7886 100644 --- a/applications/luci-app-wol/po/uk/wol.po +++ b/applications/luci-app-wol/po/uk/wol.po @@ -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:" diff --git a/applications/luci-app-wol/po/vi/wol.po b/applications/luci-app-wol/po/vi/wol.po index 91d87dcc1..3bc68ec6d 100644 --- a/applications/luci-app-wol/po/vi/wol.po +++ b/applications/luci-app-wol/po/vi/wol.po @@ -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 "" diff --git a/applications/luci-app-wol/po/zh-cn/wol.po b/applications/luci-app-wol/po/zh-cn/wol.po index 9177133b1..7c67523d0 100644 --- a/applications/luci-app-wol/po/zh-cn/wol.po +++ b/applications/luci-app-wol/po/zh-cn/wol.po @@ -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/po/zh-tw/wol.po b/applications/luci-app-wol/po/zh-tw/wol.po index ab7aec44c..69769fef6 100644 --- a/applications/luci-app-wol/po/zh-tw/wol.po +++ b/applications/luci-app-wol/po/zh-tw/wol.po @@ -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 index 000000000..ece51325f --- /dev/null +++ b/applications/luci-app-wol/root/usr/share/luci/menu.d/luci-app-wol.json @@ -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 index 000000000..62a1eb975 --- /dev/null +++ b/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json @@ -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" ] + } + } + } +} |