summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-04-04 10:00:13 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-04-04 10:00:25 -0400
commit358b288458e6465fc73b836f4f84e0f0e10b329d (patch)
tree078acd81a32478b56b1f8e7fddafac8dfce97f37 /src/usr/local/www/firewall_nat_edit.php
parent1c92c5b1a42af43feafe7f4dab2e73a4aa17eec0 (diff)
downloadpfsense-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_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_edit.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index 383d026..0c0ca77 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -309,7 +309,7 @@ if ($_POST) {
/* if user enters an alias and selects "network" then disallow. */
if (($_POST['srctype'] == "network" && is_alias($_POST['src'])) ||
($_POST['dsttype'] == "network" && is_alias($_POST['dst']))) {
- $input_errors[] = gettext("You must specify single host or alias for alias entries.");
+ $input_errors[] = gettext("Alias entries must specify a single host or alias.");
}
if (!is_specialnet($_POST['srctype'])) {
@@ -673,7 +673,7 @@ $section->addInput(new Form_Checkbox(
'No RDR (NOT)',
'Disable redirection for traffic matching this rule',
$pconfig['nordr']
-))->setHelp('This option is rarely needed, don\'t use this unless you know what you\'re doing.');
+))->setHelp('This option is rarely needed. Don\'t use this without thorough knowledge of the implications.');
$iflist = get_configured_interface_with_descr(false, true);
@@ -796,8 +796,8 @@ $group->add(new Form_Input(
))->setPattern('[a-zA-Z0-9_]+')->setHelp('Custom');
$group->setHelp('Specify the source port or port range for this rule. This is usually random and almost never ' .
- 'equal to the destination port range (and should usually be \'any\'). You can leave the \'to\' field ' .
- 'empty if you only want to filter a single port.');
+ 'equal to the destination port range (and should usually be \'any\'). The \'to\' field ' .
+ 'may be left empty if only filtering a single port.');
$section->add($group);
@@ -857,7 +857,7 @@ $group->add(new Form_Input(
))->setPattern('[a-zA-Z0-9_]+')->setHelp('Custom');
$group->setHelp('Specify the port or port range for the destination of the packet for this mapping. ' .
- 'You can leave the \'to\' field empty if you only want to map a single port ');
+ 'The \'to\' field may be left empty if only mapping a single port. ');
$section->add($group);
@@ -865,7 +865,7 @@ $section->addInput(new Form_IpAddress(
'localip',
'Redirect target IP',
$pconfig['localip']
-))->setPattern('[.a-zA-Z0-9_:]+')->setHelp('Enter the internal IP address of the server on which you want to map the ports.' . '<br />' .
+))->setPattern('[.a-zA-Z0-9_:]+')->setHelp('Enter the internal IP address of the server on which to map the ports.' . '<br />' .
'e.g.: 192.168.1.12');
$group = new Form_Group('Redirect target port');
@@ -896,7 +896,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).');
$section->addInput(new Form_Checkbox(
OpenPOWER on IntegriCloud