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/bg/wol.po | 44 ++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 20 deletions(-) (limited to 'applications/luci-app-wol/po/bg/wol.po') diff --git a/applications/luci-app-wol/po/bg/wol.po b/applications/luci-app-wol/po/bg/wol.po index 2896e79be2..a076a9ca45 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 "" -- cgit v1.2.3