diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 10:00:13 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 10:00:25 -0400 |
commit | 358b288458e6465fc73b836f4f84e0f0e10b329d (patch) | |
tree | 078acd81a32478b56b1f8e7fddafac8dfce97f37 /src/usr/local/www/firewall_nat_out_edit.php | |
parent | 1c92c5b1a42af43feafe7f4dab2e73a4aa17eec0 (diff) | |
download | pfsense-358b288458e6465fc73b836f4f84e0f0e10b329d.zip pfsense-358b288458e6465fc73b836f4f84e0f0e10b329d.tar.gz |
Merge pull request #2808 from NOYB/Firewall_/_NAT_-_Remove_Personalizations
(cherry picked from commit 4012d55c028ca1c4d449e7b80ba738d4dd5b2976)
Diffstat (limited to 'src/usr/local/www/firewall_nat_out_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_out_edit.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php index d85b278..a19bde7 100644 --- a/src/usr/local/www/firewall_nat_out_edit.php +++ b/src/usr/local/www/firewall_nat_out_edit.php @@ -204,15 +204,15 @@ if ($_POST) { } if ($protocol_uses_ports && $_POST['sourceport'] <> "" && !(is_portoralias($_POST['sourceport']) || is_portrange($_POST['sourceport']))) { - $input_errors[] = gettext("You must supply either a valid port or port alias for the source port entry."); + $input_errors[] = gettext("A valid port or port alias must be supplied for the source port entry."); } if ($protocol_uses_ports && $_POST['dstport'] <> "" && !(is_portoralias($_POST['dstport']) || is_portrange($_POST['dstport']))) { - $input_errors[] = gettext("You must supply either a valid port or port alias for the destination port entry."); + $input_errors[] = gettext("A valid port or port alias must be supplied for the destination port entry."); } if ($protocol_uses_ports && $_POST['natport'] <> "" && !(is_portoralias($_POST['natport']) || is_portrange($_POST['natport'])) && !isset($_POST['nonat'])) { - $input_errors[] = gettext("You must supply a valid port for the NAT port entry."); + $input_errors[] = gettext("A valid port must be supplied for the NAT port entry."); } if (($_POST['source_type'] != "any") && ($_POST['source_type'] != "(self)")) { @@ -574,10 +574,10 @@ $section->addInput(new Form_IpAddress( $pconfig['targetip'] ))->addMask('targetip_subnet', $pconfig['targetip_subnet'])->addClass('othersubnet')->setHelp( 'Packets matching this rule will be mapped to the IP address given here.' . '<br />' . - 'If you want this rule to apply to another IP address rather than the IP address of the interface chosen above, ' . - 'select it here (you will need to define ' . + 'To apply this rule to a different IP address than the IP address of the interface chosen above, ' . + 'select it here (' . '<a href="firewall_virtual_ip.php">' . gettext("Virtual IP") . '</a> ' . - 'addresses on the interface first)'); + 'addresses need to be defined on the interface first)'); $section->addInput(new Form_Select( 'poolopts', @@ -637,7 +637,7 @@ $section->addInput(new Form_Input( 'Description', 'text', $pconfig['descr'] -))->setHelp('You may enter a description here for your reference (not parsed).'); +))->setHelp('A description may be entered here for administrative reference (not parsed).'); if (isset($id) && $a_out[$id]) { $section->addInput(new Form_Input( |