From c6d73876c8ab338b4926a8609507d48a45029b8d Mon Sep 17 00:00:00 2001 From: NOYB Date: Tue, 26 Apr 2016 00:31:41 -0700 Subject: Diagnostics - Menu - Punctuation Clean up some punctuation. (cherry picked from commit 3728bbe5a5340a770ebe3feb526485c28888cdde) --- src/usr/local/www/diag_arp.php | 2 +- src/usr/local/www/diag_authentication.php | 2 +- src/usr/local/www/diag_packet_capture.php | 2 +- src/usr/local/www/diag_ping.php | 4 ++-- src/usr/local/www/diag_routes.php | 2 +- src/usr/local/www/diag_smart.php | 2 +- src/usr/local/www/diag_testport.php | 2 +- src/usr/local/www/diag_traceroute.php | 6 +++--- 8 files changed, 11 insertions(+), 11 deletions(-) (limited to 'src/usr') diff --git a/src/usr/local/www/diag_arp.php b/src/usr/local/www/diag_arp.php index 91c2063..69bc740 100644 --- a/src/usr/local/www/diag_arp.php +++ b/src/usr/local/www/diag_arp.php @@ -387,7 +387,7 @@ events.push(function() {
' . gettext("NDP") . '' . gettext(" instead of ARP"), 'info', false); +print_info_box(gettext("Local IPv6 peers use ") . '' . gettext("NDP") . '' . gettext(" instead of ARP."), 'info', false); ?>
diff --git a/src/usr/local/www/diag_authentication.php b/src/usr/local/www/diag_authentication.php index 5e6813a..1cfe158 100644 --- a/src/usr/local/www/diag_authentication.php +++ b/src/usr/local/www/diag_authentication.php @@ -125,7 +125,7 @@ $section->addInput(new Form_Select( 'Authentication Server', $pconfig['authmode'], $serverlist -))->setHelp('Select the authentication server to test against'); +))->setHelp('Select the authentication server to test against.'); $section->addInput(new Form_Input( 'username', diff --git a/src/usr/local/www/diag_packet_capture.php b/src/usr/local/www/diag_packet_capture.php index fa1b545..a96ef7c 100644 --- a/src/usr/local/www/diag_packet_capture.php +++ b/src/usr/local/www/diag_packet_capture.php @@ -332,7 +332,7 @@ $section->addInput(new Form_Select( 'ip' => gettext('IPv4 Only'), 'ip6' => gettext('IPv6 Only') ) -))->setHelp('Select the type of traffic to be captured'); +))->setHelp('Select the type of traffic to be captured.'); $section->addInput(new Form_Select( 'proto', diff --git a/src/usr/local/www/diag_ping.php b/src/usr/local/www/diag_ping.php index 7cf8301..e974a3d 100644 --- a/src/usr/local/www/diag_ping.php +++ b/src/usr/local/www/diag_ping.php @@ -179,14 +179,14 @@ $section->addInput(new Form_Select( 'Source address', $sourceip, array('' => gettext('Automatically selected (default)')) + get_possible_traffic_source_addresses(true) -))->setHelp('Select source address for the ping'); +))->setHelp('Select source address for the ping.'); $section->addInput(new Form_Select( 'count', 'Maximum number of pings', $count, array_combine(range(1, MAX_COUNT), range(1, MAX_COUNT)) -))->setHelp('Select the maximum number of pings'); +))->setHelp('Select the maximum number of pings.'); $form->add($section); diff --git a/src/usr/local/www/diag_routes.php b/src/usr/local/www/diag_routes.php index 5ba3c2b..ed34148 100644 --- a/src/usr/local/www/diag_routes.php +++ b/src/usr/local/www/diag_routes.php @@ -129,7 +129,7 @@ $section->addInput(new Form_Input( 'Filter', 'text', $host -))->setHelp('Use a regular expression to filter IP address or hostnames'); +))->setHelp('Use a regular expression to filter IP address or hostnames.'); $form->add($section); diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php index baeef54..a1ef312 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -451,7 +451,7 @@ switch ($action) { 'conveyance' ))->displayAsRadio(); - $group->setHelp('Select "Conveyance" for ATA disks only'); + $group->setHelp('Select "Conveyance" for ATA disks only.'); $section->add($group); $section->addInput(new Form_Select( diff --git a/src/usr/local/www/diag_testport.php b/src/usr/local/www/diag_testport.php index 58444c0..f247b4e 100644 --- a/src/usr/local/www/diag_testport.php +++ b/src/usr/local/www/diag_testport.php @@ -285,7 +285,7 @@ $section->addInput(new Form_Select( 'Source Address', $sourceip, ['' => 'Any'] + get_possible_traffic_source_addresses(true) -))->setHelp('Select source address for the trace'); +))->setHelp('Select source address for the trace.'); $section->addInput(new Form_Select( 'ipprotocol', diff --git a/src/usr/local/www/diag_traceroute.php b/src/usr/local/www/diag_traceroute.php index b130871..e057f74 100644 --- a/src/usr/local/www/diag_traceroute.php +++ b/src/usr/local/www/diag_traceroute.php @@ -160,21 +160,21 @@ $section->addInput(new Form_Select( 'IP Protocol', $ipproto, array('ipv4' => 'IPv4', 'ipv6' => 'IPv6') -))->setHelp('Select the protocol to use'); +))->setHelp('Select the protocol to use.'); $section->addInput(new Form_Select( 'sourceip', 'Source Address', $sourceip, array('any' => gettext('Any')) + get_possible_traffic_source_addresses(true) -))->setHelp('Select source address for the trace'); +))->setHelp('Select source address for the trace.'); $section->addInput(new Form_Select( 'ttl', 'Maximum nuber of hops', $ttl, array_combine(range(1, MAX_TTL), range(1, MAX_TTL)) -))->setHelp('Select the maximum number of network hops to trace'); +))->setHelp('Select the maximum number of network hops to trace.'); $section->addInput(new Form_Checkbox( 'resolve', -- cgit v1.1