diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 09:27:36 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-04 09:27:41 -0400 |
commit | 2fabe5fa2fb0169207f740cabbc7d0b000396f63 (patch) | |
tree | fe7a59060e6e0aaebb7d7b32453ae5cd3170a5a3 /src/usr/local/www/services_unbound_acls.php | |
parent | a1d1ae4fcad0de42a2060c6bcfb89bd8f59a6612 (diff) | |
download | pfsense-2fabe5fa2fb0169207f740cabbc7d0b000396f63.zip pfsense-2fabe5fa2fb0169207f740cabbc7d0b000396f63.tar.gz |
Merge pull request #2816 from NOYB/Services_/_DNS_Resolver_-_Remove_Personalizations
(cherry picked from commit 09aad9f8a6f190f4ca5cf2f08a824af695da6304)
Diffstat (limited to 'src/usr/local/www/services_unbound_acls.php')
-rw-r--r-- | src/usr/local/www/services_unbound_acls.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/local/www/services_unbound_acls.php b/src/usr/local/www/services_unbound_acls.php index 23fae6d..db5b2e2 100644 --- a/src/usr/local/www/services_unbound_acls.php +++ b/src/usr/local/www/services_unbound_acls.php @@ -148,21 +148,21 @@ if ($_POST) { $networkacl[$x]['mask'] = $pconfig["mask{$x}"]; $networkacl[$x]['description'] = $pconfig["description{$x}"]; if (!is_ipaddr($networkacl[$x]['acl_network'])) { - $input_errors[] = gettext("You must enter a valid IP address for each row under Networks."); + $input_errors[] = gettext("A valid IP address must be entered for each row under Networks."); } if (is_ipaddr($networkacl[$x]['acl_network'])) { if (!is_subnet($networkacl[$x]['acl_network']."/".$networkacl[$x]['mask'])) { - $input_errors[] = gettext("You must enter a valid IPv4 netmask for each IPv4 row under Networks."); + $input_errors[] = gettext("A valid IPv4 netmask must be entered for each IPv4 row under Networks."); } } else if (function_exists("is_ipaddrv6")) { if (!is_ipaddrv6($networkacl[$x]['acl_network'])) { - $input_errors[] = gettext("You must enter a valid IPv6 address for {$networkacl[$x]['acl_network']}."); + $input_errors[] = gettext("A valid IPv6 address must be entered for {$networkacl[$x]['acl_network']}."); } else if (!is_subnetv6($networkacl[$x]['acl_network']."/".$networkacl[$x]['mask'])) { - $input_errors[] = gettext("You must enter a valid IPv6 netmask for each IPv6 row under Networks."); + $input_errors[] = gettext("A valid IPv6 netmask must be entered for each IPv6 row under Networks."); } } else { - $input_errors[] = gettext("You must enter a valid IP address for each row under Networks."); + $input_errors[] = gettext("A valid IP address must be entered for each row under Networks."); } } else if (isset($networkacl[$x])) { unset($networkacl[$x]); @@ -203,7 +203,7 @@ $actionHelp = sprintf(gettext('%sDeny:%s Stops queries from hosts within the netblock defined below.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') . sprintf(gettext('%sRefuse:%s Stops queries from hosts within the netblock defined below, but sends a DNS rcode REFUSED error message back to the client.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') . sprintf(gettext('%sAllow:%s Allow queries from hosts within the netblock defined below.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') . - sprintf(gettext('%sAllow Snoop:%s Allow recursive and nonrecursive access from hosts within the netblock defined below. Used for cache snooping and ideally should only be configured for your administrative host.'), '<span class="text-success"><strong>', '</strong></span>'); + sprintf(gettext('%sAllow Snoop:%s Allow recursive and nonrecursive access from hosts within the netblock defined below. Used for cache snooping and ideally should only be configured for the administrative host.'), '<span class="text-success"><strong>', '</strong></span>'); $pgtitle = array(gettext("Services"), gettext("DNS Resolver"), gettext("Access Lists")); @@ -222,7 +222,7 @@ if ($savemsg) { } if (is_subsystem_dirty('unbound')) { - print_apply_box(gettext("The DNS resolver configuration has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect.")); + print_apply_box(gettext("The DNS resolver configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect.")); } $tab_array = array(); @@ -270,7 +270,7 @@ if ($act == "new" || $act == "edit") { 'Description', 'text', $pconfig['description'] - ))->setHelp('You may enter a description here for your reference.'); + ))->setHelp('A description may be entered here for administrative reference.'); $numrows = count($networkacl) - 1; $counter = 0; |