Project

General

Profile

« Previous | Next » 

Revision 359cc8d9

Added by NOYB NOYB over 9 years ago

Services / DNS Resolver - Remove Personalizations

Remove "you" personalizations.

View differences:

src/usr/local/www/services_unbound.php
177 177
		}
178 178

  
179 179
		if ($pconfig['port'] && !is_port($pconfig['port'])) {
180
			$input_errors[] = gettext("You must specify a valid port number.");
180
			$input_errors[] = gettext("A valid port number must be specified.");
181 181
		}
182 182

  
183 183
		if (is_array($pconfig['active_interface']) && !empty($pconfig['active_interface'])) {
......
283 283
}
284 284

  
285 285
if (is_subsystem_dirty('unbound')) {
286
	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."));
286
	print_apply_box(gettext("The DNS resolver configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
287 287
}
288 288

  
289 289
$tab_array = array();
......
360 360
	$pconfig['regdhcp']
361 361
))->setHelp(sprintf('If this option is set, then machines that specify their hostname when requesting a DHCP lease will be registered'.
362 362
					' in the DNS Resolver, so that their name can be resolved.'.
363
					' You should also set the domain in %sSystem: General setup%s to the proper value.','<a href="system.php">','</a>'));
363
					' The domain in %sSystem: General setup%s should also be set to the proper value.','<a href="system.php">','</a>'));
364 364

  
365 365
$section->addInput(new Form_Checkbox(
366 366
	'regdhcpstatic',
367 367
	'Static DHCP',
368 368
	'Register DHCP static mappings in the DNS Resolver',
369 369
	$pconfig['regdhcpstatic']
370
))->setHelp(sprintf('If this option is set, then DHCP static mappings will be registered in the DNS Resolver, so that their name can be '.
371
					'resolved. You should also set the domain in %s'.
372
					'System: General setup%s to the proper value.','<a href="system.php">','</a>'));
370
))->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. '.
371
					'The domain in %sSystem: General setup%s should also be set to the proper value.','<a href="system.php">','</a>'));
373 372

  
374 373
$btnadv = new Form_Button(
375 374
	'btnadvcustom',
src/usr/local/www/services_unbound_acls.php
148 148
				$networkacl[$x]['mask'] = $pconfig["mask{$x}"];
149 149
				$networkacl[$x]['description'] = $pconfig["description{$x}"];
150 150
				if (!is_ipaddr($networkacl[$x]['acl_network'])) {
151
					$input_errors[] = gettext("You must enter a valid IP address for each row under Networks.");
151
					$input_errors[] = gettext("A valid IP address must be entered for each row under Networks.");
152 152
				}
153 153

  
154 154
				if (is_ipaddr($networkacl[$x]['acl_network'])) {
155 155
					if (!is_subnet($networkacl[$x]['acl_network']."/".$networkacl[$x]['mask'])) {
156
						$input_errors[] = gettext("You must enter a valid IPv4 netmask for each IPv4 row under Networks.");
156
						$input_errors[] = gettext("A valid IPv4 netmask must be entered for each IPv4 row under Networks.");
157 157
					}
158 158
				} else if (function_exists("is_ipaddrv6")) {
159 159
					if (!is_ipaddrv6($networkacl[$x]['acl_network'])) {
160
						$input_errors[] = gettext("You must enter a valid IPv6 address for {$networkacl[$x]['acl_network']}.");
160
						$input_errors[] = gettext("A valid IPv6 address must be entered for {$networkacl[$x]['acl_network']}.");
161 161
					} else if (!is_subnetv6($networkacl[$x]['acl_network']."/".$networkacl[$x]['mask'])) {
162
						$input_errors[] = gettext("You must enter a valid IPv6 netmask for each IPv6 row under Networks.");
162
						$input_errors[] = gettext("A valid IPv6 netmask must be entered for each IPv6 row under Networks.");
163 163
					}
164 164
				} else {
165
					$input_errors[] = gettext("You must enter a valid IP address for each row under Networks.");
165
					$input_errors[] = gettext("A valid IP address must be entered for each row under Networks.");
166 166
				}
167 167
			} else if (isset($networkacl[$x])) {
168 168
				unset($networkacl[$x]);
......
203 203
					sprintf(gettext('%sDeny:%s Stops queries from hosts within the netblock defined below.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') .
204 204
					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 />') .
205 205
					sprintf(gettext('%sAllow:%s Allow queries from hosts within the netblock defined below.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') .
206
					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>'); 
206
					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>'); 
207 207

  
208 208
$pgtitle = array(gettext("Services"), gettext("DNS Resolver"), gettext("Access Lists"));
209 209

  
......
222 222
}
223 223

  
224 224
if (is_subsystem_dirty('unbound')) {
225
	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."));
225
	print_apply_box(gettext("The DNS resolver configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
226 226
}
227 227

  
228 228
$tab_array = array();
......
270 270
		'Description',
271 271
		'text',
272 272
		$pconfig['description']
273
	))->setHelp('You may enter a description here for your reference.');
273
	))->setHelp('A description may be entered here for administrative reference.');
274 274

  
275 275
	$numrows = count($networkacl) - 1;
276 276
	$counter = 0;
src/usr/local/www/services_unbound_advanced.php
231 231
}
232 232

  
233 233
if (is_subsystem_dirty('unbound')) {
234
	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."));
234
	print_apply_box(gettext("The DNS resolver configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
235 235
}
236 236

  
237 237
$tab_array = array();
......
306 306
	$pconfig['edns_buffer_size'],
307 307
	array_combine(array("512", "1480", "4096"), array("512", "1480", "4096"))
308 308
))->setHelp('Number of bytes size to advertise as the EDNS reassembly buffer size. This is the value that is used in UDP datagrams sent to peers. ' .
309
			'RFC recommendation is 4096 (which is the default). If you have fragmentation reassemble problems, usually seen as timeouts, then a value of 1480 should help. ' .
309
			'RFC recommendation is 4096 (which is the default). If fragmentation reassemble problems occur, usually seen as timeouts, then a value of 1480 should help. ' .
310 310
			'The 512 value bypasses most MTU path problems, but it can generate an excessive amount of TCP fallback.');
311 311

  
312 312
$section->addInput(new Form_Select(
src/usr/local/www/services_unbound_domainoverride_edit.php
169 169
	'Description',
170 170
	'text',
171 171
	$pconfig['descr']
172
))->setHelp('You may enter a description here for your reference (not parsed).');
172
))->setHelp('A description may be entered here for administrative reference (not parsed).');
173 173

  
174 174
if (isset($id) && $a_domainOverrides[$id]) {
175 175
	$section->addInput(new Form_Input(
src/usr/local/www/services_unbound_host_edit.php
270 270
	'Description',
271 271
	'text',
272 272
	$pconfig['descr']
273
))->setHelp('You may enter a description here for your reference (not parsed).');
273
))->setHelp('A description may be entered here for administrative reference (not parsed).');
274 274

  
275 275
if (isset($id) && $a_hosts[$id]) {
276 276
	$section->addInput(new Form_Input(

Also available in: Unified diff