Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ return view.extend({
o.depends({ mode: "run_script" });

o = s.taboption('general', form.ListValue, 'addressfamily',
_('Address family for pinging the host'));
_('Address family for pinging the host'));
o.default = 'any';
o.depends({ mode: 'ping_reboot' });
o.depends({ mode: 'restart_iface' });
Expand All @@ -66,8 +66,16 @@ return view.extend({
o.value('ipv4');
o.value('ipv6');

o = s.taboption('general', form.Value, 'pingperiod',
_('Check Interval'),
o = s.taboption('general', form.Value, 'pingtimeout',
_('Ping timeout'),
_("Time in second to wait for ping response. (default: 10s)<br />The default unit is seconds, without a suffix."));
o.default = '10s';
o.depends({ mode: "ping_reboot" });
o.depends({ mode: "restart_iface" });
o.depends({ mode: "run_script" });

o = s.taboption('general', form.Value, 'pingperiod',
_('Check Interval'),
_("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>"));
Expand Down
50 changes: 30 additions & 20 deletions applications/luci-app-watchcat/po/ar/watchcat.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgstr ""
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 5.8-dev\n"

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:94
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:102
msgid ""
"<i>Applies to Ping Reboot and Periodic Reboot modes</i> <br /> When "
"rebooting the router, the service will trigger a soft reboot. Entering a non-"
Expand All @@ -22,14 +22,14 @@ msgid ""
"use 0 to disable the forced reboot delay."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:111
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:119
msgid ""
"<i>Applies to Ping Reboot and Restart Interface modes</i> <br /> If using "
"ModemManager, you can have Watchcat restart your ModemManager interface by "
"specifying its name."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:104
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:112
msgid ""
"<i>Applies to Ping Reboot, Restart Interface, and Run Script modes</i> <br /"
"> Specify the interface to monitor and react if a ping over it fails."
Expand All @@ -43,15 +43,15 @@ msgstr ""
msgid "Any"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:84
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:92
msgid "Big: 248 bytes"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:70
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:78
msgid "Check Interval"
msgstr "ΨͺΨ­Ω‚Ω‚ الفاءل"

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:93
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:101
msgid "Force Reboot Delay"
msgstr ""

Expand All @@ -71,10 +71,10 @@ msgid ""
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:52
msgid "Host To Check"
msgid "Hosts To Check"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:71
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:79
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, "
Expand All @@ -84,15 +84,15 @@ msgid ""
"li><ul>"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:85
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:93
msgid "Huge: 1492 bytes"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:52
msgid "IP address or hostname to ping."
msgid "IP addresses or hostnames to ping."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:118
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:126
msgid ""
"If using ModemManager, then before restarting the interface, set the modem "
"to be allowed to use any band."
Expand All @@ -112,23 +112,23 @@ msgid ""
"li><li>1 week would be: <b>7d</b></li><ul>"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:102
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:110
msgid "Interface"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:103
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:111
msgid "Interface to monitor and/or restart"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:86
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:94
msgid "Jumbo: 9000 bytes"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:22
msgid "Mode"
msgstr "وآع"

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:110
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:118
msgid "Name of ModemManager Interface"
msgstr ""

Expand All @@ -140,7 +140,7 @@ msgstr ""
msgid "Periodic Reboot"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:80
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:88
msgid "Ping Packet Size"
msgstr ""

Expand All @@ -158,6 +158,10 @@ msgid ""
"for a specified duration of time. <br />"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:70
msgid "Ping timeout"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:29
msgid "Restart Interface"
msgstr ""
Expand All @@ -176,19 +180,25 @@ msgid ""
"time. The script is passed the interface name as $1"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:81
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:89
msgid "Small: 1 byte"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:83
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:91
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/htdocs/luci-static/resources/view/watchcat.js:117
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:71
msgid ""
"Time in second to wait for ping response. (default: 10s)<br />The default "
"unit is seconds, without a suffix."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:125
msgid "Unlock Modem Bands"
msgstr ""

Expand All @@ -198,6 +208,6 @@ msgstr ""
msgid "Watchcat"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:82
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:90
msgid "Windows: 32 bytes"
msgstr ""
50 changes: 30 additions & 20 deletions applications/luci-app-watchcat/po/bg/watchcat.po
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.5-dev\n"

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:94
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:102
msgid ""
"<i>Applies to Ping Reboot and Periodic Reboot modes</i> <br /> When "
"rebooting the router, the service will trigger a soft reboot. Entering a non-"
Expand All @@ -21,14 +21,14 @@ msgid ""
"use 0 to disable the forced reboot delay."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:111
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:119
msgid ""
"<i>Applies to Ping Reboot and Restart Interface modes</i> <br /> If using "
"ModemManager, you can have Watchcat restart your ModemManager interface by "
"specifying its name."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:104
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:112
msgid ""
"<i>Applies to Ping Reboot, Restart Interface, and Run Script modes</i> <br /"
"> Specify the interface to monitor and react if a ping over it fails."
Expand All @@ -42,15 +42,15 @@ msgstr ""
msgid "Any"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:84
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:92
msgid "Big: 248 bytes"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:70
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:78
msgid "Check Interval"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:93
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:101
msgid "Force Reboot Delay"
msgstr ""

Expand All @@ -70,10 +70,10 @@ msgid ""
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:52
msgid "Host To Check"
msgid "Hosts To Check"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:71
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:79
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, "
Expand All @@ -83,15 +83,15 @@ msgid ""
"li><ul>"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:85
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:93
msgid "Huge: 1492 bytes"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:52
msgid "IP address or hostname to ping."
msgid "IP addresses or hostnames to ping."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:118
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:126
msgid ""
"If using ModemManager, then before restarting the interface, set the modem "
"to be allowed to use any band."
Expand All @@ -111,23 +111,23 @@ msgid ""
"li><li>1 week would be: <b>7d</b></li><ul>"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:102
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:110
msgid "Interface"
msgstr "Π˜Π½Ρ‚Π΅Ρ€Ρ„Π΅ΠΉΡ"

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:103
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:111
msgid "Interface to monitor and/or restart"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:86
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:94
msgid "Jumbo: 9000 bytes"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:22
msgid "Mode"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:110
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:118
msgid "Name of ModemManager Interface"
msgstr ""

Expand All @@ -139,7 +139,7 @@ msgstr ""
msgid "Periodic Reboot"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:80
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:88
msgid "Ping Packet Size"
msgstr ""

Expand All @@ -157,6 +157,10 @@ msgid ""
"for a specified duration of time. <br />"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:70
msgid "Ping timeout"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:29
msgid "Restart Interface"
msgstr ""
Expand All @@ -175,19 +179,25 @@ msgid ""
"time. The script is passed the interface name as $1"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:81
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:89
msgid "Small: 1 byte"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:83
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:91
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/htdocs/luci-static/resources/view/watchcat.js:117
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:71
msgid ""
"Time in second to wait for ping response. (default: 10s)<br />The default "
"unit is seconds, without a suffix."
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:125
msgid "Unlock Modem Bands"
msgstr ""

Expand All @@ -197,6 +207,6 @@ msgstr ""
msgid "Watchcat"
msgstr ""

#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:82
#: applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js:90
msgid "Windows: 32 bytes"
msgstr ""
Loading
Loading