From 2fabe5fa2fb0169207f740cabbc7d0b000396f63 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Mon, 4 Apr 2016 09:27:36 -0400 Subject: Merge pull request #2816 from NOYB/Services_/_DNS_Resolver_-_Remove_Personalizations (cherry picked from commit 09aad9f8a6f190f4ca5cf2f08a824af695da6304) --- src/usr/local/www/services_unbound.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/usr/local/www/services_unbound.php') diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php index 4408d2a..b99ec69 100644 --- a/src/usr/local/www/services_unbound.php +++ b/src/usr/local/www/services_unbound.php @@ -177,7 +177,7 @@ if ($_POST) { } if ($pconfig['port'] && !is_port($pconfig['port'])) { - $input_errors[] = gettext("You must specify a valid port number."); + $input_errors[] = gettext("A valid port number must be specified."); } if (is_array($pconfig['active_interface']) && !empty($pconfig['active_interface'])) { @@ -283,7 +283,7 @@ if ($savemsg) { } if (is_subsystem_dirty('unbound')) { - print_apply_box(gettext("The DNS resolver configuration has been changed.") . "
" . gettext("You must apply the changes in order for them to take effect.")); + print_apply_box(gettext("The DNS resolver configuration has been changed.") . "
" . gettext("The changes must be applied for them to take effect.")); } $tab_array = array(); @@ -360,16 +360,15 @@ $section->addInput(new Form_Checkbox( $pconfig['regdhcp'] ))->setHelp(sprintf('If this option is set, then machines that specify their hostname when requesting a DHCP lease will be registered'. ' in the DNS Resolver, so that their name can be resolved.'. - ' You should also set the domain in %sSystem: General setup%s to the proper value.','','')); + ' The domain in %sSystem: General setup%s should also be set to the proper value.','','')); $section->addInput(new Form_Checkbox( 'regdhcpstatic', 'Static DHCP', 'Register DHCP static mappings in the DNS Resolver', $pconfig['regdhcpstatic'] -))->setHelp(sprintf('If this option is set, then DHCP static mappings will be registered in the DNS Resolver, so that their name can be '. - 'resolved. You should also set the domain in %s'. - 'System: General setup%s to the proper value.','','')); +))->setHelp(sprintf('If this option is set, then DHCP static mappings will be registered in the DNS Resolver, so that their name can be resolved. '. + 'The domain in %sSystem: General setup%s should also be set to the proper value.','','')); $btnadv = new Form_Button( 'btnadvcustom', -- cgit v1.1