From 40ee3fa3ce1742d625123be11f41df04cf353d7a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 26 Jan 2020 22:48:20 +0100 Subject: luci-app-woll: convert to client side rendering Also make the interface option mandatory Fixes: #3557 Signed-off-by: Jo-Philipp Wich --- applications/luci-app-wol/po/pt-br/wol.po | 57 +++++++++++++++++++------------ 1 file changed, 35 insertions(+), 22 deletions(-) (limited to 'applications/luci-app-wol/po/pt-br/wol.po') diff --git a/applications/luci-app-wol/po/pt-br/wol.po b/applications/luci-app-wol/po/pt-br/wol.po index e9ed10bd0d..239c27538b 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:" -- cgit v1.2.3