diff options
author | stilez <stilez@users.noreply.github.com> | 2016-09-10 08:11:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-10 08:11:10 +0100 |
commit | b9004e46d623a7793eac0e8704cb6898a77a191e (patch) | |
tree | d4765bd4a37e3074b2e29e4d4746dc370bf66a03 | |
parent | cff60fef4f41a775020b4929c97c039d747e9c31 (diff) | |
download | pfsense-b9004e46d623a7793eac0e8704cb6898a77a191e.zip pfsense-b9004e46d623a7793eac0e8704cb6898a77a191e.tar.gz |
gateway error messages - standardise text and clarify "both"
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index 52aa47e..e1539b4 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -311,20 +311,20 @@ if ($_POST) { continue; } if (($_POST['ipprotocol'] == "inet46") && ($_POST['ipprotocol'] != $family)) { - $input_errors[] = gettext("A gateway can not be assigned to a rule that applies to IPv4 and IPv6"); + $input_errors[] = gettext("A gateway can not be assigned to a rule that applies to both IPv4 and IPv6"); } if (($_POST['ipprotocol'] == "inet6") && ($_POST['ipprotocol'] != $family)) { - $input_errors[] = gettext("An IPv4 gateway group can not be assigned on an IPv6 Address Family rule"); + $input_errors[] = gettext("An IPv4 gateway group can not be assigned to an IPv6 Filter rule"); } if (($_POST['ipprotocol'] == "inet") && ($_POST['ipprotocol'] != $family)) { - $input_errors[] = gettext("An IPv6 gateway group can not be assigned on an IPv4 Address Family rule"); + $input_errors[] = gettext("An IPv6 gateway group can not be assigned to an IPv4 Filter rule"); } } } } if (is_ipaddr(lookup_gateway_ip_by_name($_POST['gateway']))) { if (($_POST['ipprotocol'] == "inet46") && ($_POST['gateway'] <> "")) { - $input_errors[] = gettext("A gateway can not be assigned to a rule that applies to IPv4 and IPv6"); + $input_errors[] = gettext("A gateway can not be assigned to a rule that applies to both IPv4 and IPv6"); } if (($_POST['ipprotocol'] == "inet6") && (!is_ipaddrv6(lookup_gateway_ip_by_name($_POST['gateway'])))) { $input_errors[] = gettext("An IPv4 Gateway can not be assigned to an IPv6 Filter rule"); |