diff options
author | Nicholas Smith <nicholas@nbembedded.com> | 2020-12-14 11:39:09 +1000 |
---|---|---|
committer | Nicholas Smith <nicholas@nbembedded.com> | 2021-03-04 21:01:03 +1000 |
commit | d5c763ee1dc3f90ae3f493400895440f4082c4b4 (patch) | |
tree | f54d2472f897b4cf7cf69cb20d9207359f29f159 /applications/luci-app-watchcat/po/zh_Hans/watchcat.po | |
parent | 0d1b09e33f38d5fb181ccc6ab97b716f25e97fa2 (diff) |
luci-app-watchcat: add support for new features and convert to JavaScript
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
Diffstat (limited to 'applications/luci-app-watchcat/po/zh_Hans/watchcat.po')
-rw-r--r-- | applications/luci-app-watchcat/po/zh_Hans/watchcat.po | 232 |
1 files changed, 187 insertions, 45 deletions
diff --git a/applications/luci-app-watchcat/po/zh_Hans/watchcat.po b/applications/luci-app-watchcat/po/zh_Hans/watchcat.po index e691bf972c..e4627245b8 100644 --- a/applications/luci-app-watchcat/po/zh_Hans/watchcat.po +++ b/applications/luci-app-watchcat/po/zh_Hans/watchcat.po @@ -15,69 +15,211 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.4.1-dev\n" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:21 -msgid "Forced reboot delay" -msgstr "强制重启延时" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:82 +msgid "" +"<i>Applies to Ping Reboot and Restart Interface modes</i> <br> 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</i> <br> 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</i> <br> 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" -msgstr "授予UCI访问luci-app-watchcat的权限" +msgid "Grant access to LuCI app watchcat" +msgstr "" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:40 -msgid "Host address to ping" -msgstr "要 ping 的主机地址" +#: 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 <b>Add</b> button at the bottom to set " +"up more than one action." +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:43 +msgid "Host To Check" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:51 +msgid "" +"How often to ping the host specified above. <br><br>The default unit is " +"seconds, without a suffix, but you can use the suffix <b>m</b> for minutes, " +"<b>h</b> for hours or <b>d</b> for days. <br><br> Examples:<ul><li>10 " +"seconds would be: <b>10</b> or <b>10s</b></li><li>5 minutes would be: <b>5m</" +"b></li><li>1 hour would be: <b>1h</b></li><li>1 week would be: <b>7d</b></" +"li><ul>" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:64 +msgid "Huge: 1492 bytes" +msgstr "" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:47 +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:95 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" +"If using ModemManager, then before restarting the interface, set the modem " +"to be allowed to use any band." msgstr "" -"检测网络连接的频率。默认单位为秒,您可以使用“m”作为后缀表示分钟,“h”表示小" -"时,“d”表示天" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:31 +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:32 msgid "" -"In periodic mode, it defines the reboot period. In internet mode, it defines " -"the longest period of time without internet access before a reboot is " -"engaged.Default unit is seconds, you can use the suffix 'm' for minutes, 'h' " -"for hours or 'd' for days" +"In Periodic Reboot mode, it defines how often to reboot. <br> In Ping Reboot " +"mode, it defines the longest period of time without a reply from the Host To " +"Check before a reboot is engaged. <br> In Network Restart mode, it defines " +"the longest period of time without a reply from the Host to Check before the " +"interface is restarted. <br><br>The default unit is seconds, without a " +"suffix, but you can use the suffix <b>m</b> for minutes, <b>h</b> for hours " +"or <b>d</b> for days. <br><br>Examples:<ul><li>10 seconds would be: <b>10</" +"b> or <b>10s</b></li><li>5 minutes would be: <b>5m</b></li><li> 1 hour would " +"be: <b>1h</b></li><li>1 week would be: <b>7d</b></li><ul>" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:80 +msgid "Interface" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:81 +msgid "Interface to monitor and/or restart" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:65 +msgid "Jumbo: 9000 bytes" msgstr "" -"在周期模式下,此处定义了重启的周期。在联网模式下,这个表示没有网络连接情况下" -"到执行重启的最长时间间隔。默认单位为秒,您可以使用“m”作为后缀表示分钟,“h”表" -"示小时,“d”表示天" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:15 -msgid "Operating mode" -msgstr "操作模式" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:22 +msgid "Mode" +msgstr "" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:30 +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:87 +msgid "Name of ModemManager Interface" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:31 msgid "Period" msgstr "周期" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:39 -msgid "Ping host" -msgstr "Ping 主机" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:27 +msgid "Periodic Reboot" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:59 +msgid "Ping Packet Size" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:26 +msgid "Ping Reboot" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:23 +msgid "" +"Ping Reboot: Reboot this device if a ping to a specified host fails for a " +"specified duration of time. <br> Periodic Reboot: Reboot this device after a " +"specified interval of time. <br> Restart Interface: Restart a network " +"interface if a ping to a specified host fails for a specified duration of " +"time." +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:28 +msgid "Restart Interface" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:60 +msgid "Small: 1 byte" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:62 +msgid "Standard: 56 bytes" +msgstr "" + +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:15 +msgid "These rules will govern how this device reacts to network events." +msgstr "" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:46 -msgid "Ping period" -msgstr "Ping 周期" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:94 +msgid "Unlock Modem Bands" +msgstr "" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:5 +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:11 +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:15 #: applications/luci-app-watchcat/root/usr/share/luci/menu.d/luci-app-watchcat.json:3 msgid "Watchcat" msgstr "Watchcat" -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:6 -msgid "" -"Watchcat allows configuring a periodic reboot when the Internet connection " -"has been lost for a certain period of time." -msgstr "Watchcat 允许在网络连接丢失一段时间后配置定时重启动。" - -#: applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua:22 -msgid "" -"When rebooting the system, the watchcat will trigger a soft reboot. Entering " -"a non zero value here will trigger a delayed hard reboot if the soft reboot " -"fails. Enter a number of seconds to enable, use 0 to disable" +#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:61 +msgid "Windows: 32 bytes" msgstr "" -"当重启系统时,WatchCat 将触发一个软重启。在此输入一个非 0 值,如果软重启失败" -"将会触发一个延迟的硬重启。输入秒数启用,输入 0 禁用" + +#~ msgid "Forced reboot delay" +#~ msgstr "强制重启延时" + +#~ msgid "Grant UCI access for luci-app-watchcat" +#~ msgstr "授予UCI访问luci-app-watchcat的权限" + +#~ msgid "Host address to ping" +#~ msgstr "要 ping 的主机地址" + +#~ 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" +#~ msgstr "" +#~ "检测网络连接的频率。默认单位为秒,您可以使用“m”作为后缀表示分钟,“h”表示小" +#~ "时,“d”表示天" + +#~ msgid "" +#~ "In periodic mode, it defines the reboot period. In internet mode, it " +#~ "defines the longest period of time without internet access before a " +#~ "reboot is engaged.Default unit is seconds, you can use the suffix 'm' for " +#~ "minutes, 'h' for hours or 'd' for days" +#~ msgstr "" +#~ "在周期模式下,此处定义了重启的周期。在联网模式下,这个表示没有网络连接情况" +#~ "下到执行重启的最长时间间隔。默认单位为秒,您可以使用“m”作为后缀表示分" +#~ "钟,“h”表示小时,“d”表示天" + +#~ msgid "Operating mode" +#~ msgstr "操作模式" + +#~ msgid "Ping host" +#~ msgstr "Ping 主机" + +#~ msgid "Ping period" +#~ msgstr "Ping 周期" + +#~ msgid "" +#~ "Watchcat allows configuring a periodic reboot when the Internet " +#~ "connection has been lost for a certain period of time." +#~ msgstr "Watchcat 允许在网络连接丢失一段时间后配置定时重启动。" + +#~ msgid "" +#~ "When rebooting the system, the watchcat will trigger a soft reboot. " +#~ "Entering a non zero value here will trigger a delayed hard reboot if the " +#~ "soft reboot fails. Enter a number of seconds to enable, use 0 to disable" +#~ msgstr "" +#~ "当重启系统时,WatchCat 将触发一个软重启。在此输入一个非 0 值,如果软重启失" +#~ "败将会触发一个延迟的硬重启。输入秒数启用,输入 0 禁用" |