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/en/wol.po | 52 ++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 21 deletions(-) (limited to 'applications/luci-app-wol/po/en') diff --git a/applications/luci-app-wol/po/en/wol.po b/applications/luci-app-wol/po/en/wol.po index aeb61955a0..f4444fb5dd 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:" -- cgit v1.2.3