From d5c763ee1dc3f90ae3f493400895440f4082c4b4 Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Mon, 14 Dec 2020 11:39:09 +1000 Subject: luci-app-watchcat: add support for new features and convert to JavaScript Signed-off-by: Nicholas Smith --- applications/luci-app-watchcat/po/vi/watchcat.po | 163 ++++++++++++++++++----- 1 file changed, 132 insertions(+), 31 deletions(-) (limited to 'applications/luci-app-watchcat/po/vi/watchcat.po') diff --git a/applications/luci-app-watchcat/po/vi/watchcat.po b/applications/luci-app-watchcat/po/vi/watchcat.po index eede16999e..aed555bbc3 100644 --- a/applications/luci-app-watchcat/po/vi/watchcat.po +++ b/applications/luci-app-watchcat/po/vi/watchcat.po @@ -8,62 +8,163 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:21 -msgid "Forced reboot delay" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:82 +msgid "" +"Applies to Ping Reboot and Restart Interface modes
Specify the " +"interface to monitor and restart if a ping over it fails." +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:72 +msgid "" +"Applies to Ping Reboot and Periodic Reboot modes
When rebooting the " +"router, the service will trigger a soft reboot. Entering a non-zero value " +"here will trigger a delayed hard reboot if the soft reboot were to fail. " +"Enter the number of seconds to wait for the soft reboot to fail or use 0 to " +"disable the forced reboot delay." +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:88 +msgid "" +"Applies to Ping Reboot and Restart Interface modes
If using " +"ModemManager, you can have Watchcat restart your ModemManger interface by " +"specifying its name." +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:63 +msgid "Big: 248 bytes" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:50 +msgid "Check Interval" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:71 +msgid "Force Reboot Delay" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:19 +msgid "General Settings" msgstr "" #: applications/luci-app-watchcat/root/usr/share/rpcd/acl.d/luci-app-watchcat.json:3 -msgid "Grant UCI access for luci-app-watchcat" +msgid "Grant access to LuCI app watchcat" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:12 +msgid "" +"Here you can set up several checks and actions to take in the event that a " +"host becomes unreachable. Click the Add button at the bottom to set " +"up more than one action." msgstr "" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:40 -msgid "Host address to ping" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:43 +msgid "Host To Check" msgstr "" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:47 +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:51 msgid "" -"How often to check internet connection. Default unit is seconds, you can you " -"use the suffix 'm' for minutes, 'h' for hours or 'd' for days" +"How often to ping the host specified above.

The default unit is " +"seconds, without a suffix, but you can use the suffix m for minutes, " +"h for hours or d for days.

Examples: