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/zh-tw/wol.po | 57 +++++++++++++++++++------------ 1 file changed, 35 insertions(+), 22 deletions(-) (limited to 'applications/luci-app-wol/po/zh-tw/wol.po') 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 "正在啟動網路喚醒工具:" -- cgit v1.2.3