From d5bdbe0c50cb272d86180dd71d587d7685096ce9 Mon Sep 17 00:00:00 2001
From: Daniel Aleksandersen
Date: Thu, 13 Feb 2014 00:10:35 +0100
Subject: [PATCH] Change string to "Maximum new connections per host / per
second(s)"
Clarifying the setting's meaning.
As suggested by forum member "Senser" on
https://forum.pfsense.org/index.php/topic,65472.msg356024.html#msg356024
---
usr/local/share/locale/en/LC_MESSAGES/pfSense.pot | 2 +-
usr/local/www/firewall_rules_edit.php | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/usr/local/share/locale/en/LC_MESSAGES/pfSense.pot b/usr/local/share/locale/en/LC_MESSAGES/pfSense.pot
index 0ddeac7caa..1101b9c5b4 100644
--- a/usr/local/share/locale/en/LC_MESSAGES/pfSense.pot
+++ b/usr/local/share/locale/en/LC_MESSAGES/pfSense.pot
@@ -19971,7 +19971,7 @@ msgstr ""
#: usr/local/www/firewall_rules_edit.php:1223
#: usr/local/www/firewall_rules_edit.php:1222
#: usr/local/www/firewall_rules_edit.php:1222
-msgid "Maximum new connections / per second(s)"
+msgid "Maximum new connections per host / per second(s)"
msgstr ""
#: usr/local/www/firewall_rules_edit.php:1164
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php
index dd15aa90e7..4d7daf433c 100755
--- a/usr/local/www/firewall_rules_edit.php
+++ b/usr/local/www/firewall_rules_edit.php
@@ -479,7 +479,7 @@ if ($_POST) {
if (!empty($_POST['max-src-conn']))
$input_errors[] = gettext("You can only specify the maximum number of established connections per host (advanced option) for TCP protocol.");
if (!empty($_POST['max-src-conn-rate']) || !empty($_POST['max-src-conn-rates']))
- $input_errors[] = gettext("You can only specify the maximum new connections / per second(s) (advanced option) for TCP protocol.");
+ $input_errors[] = gettext("You can only specify the maximum new connections per host / per second(s) (advanced option) for TCP protocol.");
if (!empty($_POST['statetimeout']))
$input_errors[] = gettext("You can only specify the state timeout (advanced option) for TCP protocol.");
}
@@ -494,7 +494,7 @@ if ($_POST) {
if (!empty($_POST['max-src-states']))
$input_errors[] = gettext("You can only specify the maximum state entries per host (advanced option) for Pass type rules.");
if (!empty($_POST['max-src-conn-rate']) || !empty($_POST['max-src-conn-rates']))
- $input_errors[] = gettext("You can only specify the maximum new connections / per second(s) (advanced option) for Pass type rules.");
+ $input_errors[] = gettext("You can only specify the maximum new connections per host / per second(s) (advanced option) for Pass type rules.");
if (!empty($_POST['statetimeout']))
$input_errors[] = gettext("You can only specify the state timeout (advanced option) for Pass type rules.");
}
@@ -509,7 +509,7 @@ if ($_POST) {
if (!empty($_POST['max-src-states']))
$input_errors[] = gettext("You cannot specify the maximum state entries per host (advanced option) if statetype is none and no L7 container is selected.");
if (!empty($_POST['max-src-conn-rate']) || !empty($_POST['max-src-conn-rates']))
- $input_errors[] = gettext("You cannot specify the maximum new connections / per second(s) (advanced option) if statetype is none and no L7 container is selected.");
+ $input_errors[] = gettext("You cannot specify the maximum new connections per host / per second(s) (advanced option) if statetype is none and no L7 container is selected.");
if (!empty($_POST['statetimeout']))
$input_errors[] = gettext("You cannot specify the state timeout (advanced option) if statetype is none and no L7 container is selected.");
}
@@ -1268,7 +1268,7 @@ $i--): ?>
echo "\n";
} ?>
- =gettext("Maximum new connections / per second(s) (TCP only)");?>
+ =gettext("Maximum new connections per host / per second(s) (TCP only)");?>
=gettext("State Timeout in seconds (TCP only)");?>