From 7ca510fa61eb4954bd5e29d90982f4508efdc4ff Mon Sep 17 00:00:00 2001 From: Dirk Brenken Date: Fri, 7 Jun 2024 22:58:23 +0200 Subject: [PATCH] luci-app-banip: sync with forthcoming banIP 1.0 Signed-off-by: Dirk Brenken (cherry picked from commit 2331147f9992d1f436847a626890272fbbe1158c) --- .../htdocs/luci-static/resources/view/banip/overview.js | 6 +++--- applications/luci-app-banip/po/templates/banip.pot | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js index 021fc10d90..93a80f41ce 100644 --- a/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js +++ b/applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js @@ -438,7 +438,7 @@ return view.extend({ o.optional = true; o.rmempty = true; - o = s.taboption('adv_chain', form.ListValue, 'ban_icmplimit', _('ICMP-Threshold'), _('ICMP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable this safeguard set it to \'0\'.')); + o = s.taboption('adv_chain', form.ListValue, 'ban_icmplimit', _('ICMP-Threshold'), _('ICMP-Threshold in packets per second to prevent WAN-DoS attacks. To disable this safeguard set it to \'0\'.')); o.value('0'); o.value('10'); o.value('50'); @@ -452,7 +452,7 @@ return view.extend({ o.optional = true; o.rmempty = true; - o = s.taboption('adv_chain', form.ListValue, 'ban_synlimit', _('SYN-Threshold'), _('SYN-Threshold in packets per second to prevent WAN-DDoS attacks. To disable this safeguard set it to \'0\'.')); + o = s.taboption('adv_chain', form.ListValue, 'ban_synlimit', _('SYN-Threshold'), _('SYN-Threshold in packets per second to prevent WAN-DoS attacks. To disable this safeguard set it to \'0\'.')); o.value('0'); o.value('10'); o.value('50'); @@ -466,7 +466,7 @@ return view.extend({ o.optional = true; o.rmempty = true; - o = s.taboption('adv_chain', form.ListValue, 'ban_udplimit', _('UDP-Threshold'), _('UDP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable this safeguard set it to \'0\'.')); + o = s.taboption('adv_chain', form.ListValue, 'ban_udplimit', _('UDP-Threshold'), _('UDP-Threshold in packets per second to prevent WAN-DoS attacks. To disable this safeguard set it to \'0\'.')); o.value('0'); o.value('100'); o.value('250'); diff --git a/applications/luci-app-banip/po/templates/banip.pot b/applications/luci-app-banip/po/templates/banip.pot index c67f09c827..6beafcc5f7 100644 --- a/applications/luci-app-banip/po/templates/banip.pot +++ b/applications/luci-app-banip/po/templates/banip.pot @@ -413,7 +413,7 @@ msgstr "" #: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:441 msgid "" -"ICMP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable " +"ICMP-Threshold in packets per second to prevent WAN-DoS attacks. To disable " "this safeguard set it to '0'." msgstr "" @@ -736,7 +736,7 @@ msgstr "" #: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:455 msgid "" -"SYN-Threshold in packets per second to prevent WAN-DDoS attacks. To disable " +"SYN-Threshold in packets per second to prevent WAN-DoS attacks. To disable " "this safeguard set it to '0'." msgstr "" @@ -923,7 +923,7 @@ msgstr "" #: applications/luci-app-banip/htdocs/luci-static/resources/view/banip/overview.js:469 msgid "" -"UDP-Threshold in packets per second to prevent WAN-DDoS attacks. To disable " +"UDP-Threshold in packets per second to prevent WAN-DoS attacks. To disable " "this safeguard set it to '0'." msgstr "" -- 2.30.2