diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php index 31fd1ff618..a4357779f8 100644 --- a/src/usr/local/www/index.php +++ b/src/usr/local/www/index.php @@ -510,7 +510,7 @@ events.push(function() { // provide a warning message if the user tries to change page before saving $(window).bind('beforeunload', function(){ if (dirty) { - return (""); + return (""); } else { return undefined; } diff --git a/src/usr/local/www/status_captiveportal.php b/src/usr/local/www/status_captiveportal.php index be1be657bc..36abe133ea 100644 --- a/src/usr/local/www/status_captiveportal.php +++ b/src/usr/local/www/status_captiveportal.php @@ -261,7 +261,7 @@ if (!empty($cpzone)): ?> else: if (empty($a_cp)) { // If no zones have been defined - print_info_box(sprintf(gettext('No Captive Portal zones have been configured. You may add new zones here: %1$sServices > Captive Portal%2$s.'), '', ''), 'warning', false); + print_info_box(sprintf(gettext('No Captive Portal zones have been configured. New zones may be added here: %1$sServices > Captive Portal%2$s.'), '', ''), 'warning', false); } endif; ?> diff --git a/src/usr/local/www/status_carp.php b/src/usr/local/www/status_carp.php index e369f05cef..93faafe1d6 100644 --- a/src/usr/local/www/status_carp.php +++ b/src/usr/local/www/status_carp.php @@ -161,7 +161,7 @@ if (is_array($config['virtualip']['vip'])) { if ($carpcount == 0) { print_info_box(gettext('No CARP interfaces have been defined.') . '
' . '' . - gettext("You can configure high availability sync settings here.") . + gettext("High availability sync settings can be configured here.") . ''); } else { ?> diff --git a/src/usr/local/www/status_graph_cpu.php b/src/usr/local/www/status_graph_cpu.php index 1b9d8e872e..a7e0250a52 100644 --- a/src/usr/local/www/status_graph_cpu.php +++ b/src/usr/local/www/status_graph_cpu.php @@ -77,7 +77,7 @@ include("head.inc");

: - ', '')?> + ', '')?>

diff --git a/src/usr/local/www/status_interfaces.php b/src/usr/local/www/status_interfaces.php index 3a46b04792..4afb95d6ef 100644 --- a/src/usr/local/www/status_interfaces.php +++ b/src/usr/local/www/status_interfaces.php @@ -214,7 +214,7 @@ foreach ($ifdescrs as $ifdescr => $ifname): print_info_box(gettext("Using dial-on-demand will bring the connection up again if any packet ". "triggers it. To substantiate this point: disconnecting manually ". "will not prevent dial-on-demand from making connections ". - "to the outside! Don't use dial-on-demand if you want to make sure that the line ". - "is kept disconnected."), 'warning', false); + "to the outside! Don't use dial-on-demand if the line ". + "is to be kept disconnected."), 'warning', false); include("foot.inc"); ?> diff --git a/src/usr/local/www/status_ipsec.php b/src/usr/local/www/status_ipsec.php index 1142e2aff9..21a6fa93d8 100644 --- a/src/usr/local/www/status_ipsec.php +++ b/src/usr/local/www/status_ipsec.php @@ -533,7 +533,7 @@ if (ipsec_enabled()) {
', ''), 'info', false); +print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '', ''), 'info', false); ?>
', ''), 'info', false); +print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '', ''), 'info', false); ?> ', ''), 'info', false); +print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '', ''), 'info', false); ?> ', ''), 'info', false); +print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '', ''), 'info', false); ?> " . gettext("You must apply the changes in order for them to take effect.")); + print_apply_box(gettext("The load balancer configuration has been changed.") . "
" . gettext("The changes must be applied for them to take effect.")); } /* active tabs */ diff --git a/src/usr/local/www/status_logs_settings.php b/src/usr/local/www/status_logs_settings.php index de2d595b14..0e97ff0915 100644 --- a/src/usr/local/www/status_logs_settings.php +++ b/src/usr/local/www/status_logs_settings.php @@ -211,13 +211,13 @@ include("head.inc"); $logfilesizeHelp = gettext("Logs are held in constant-size circular log files. This field controls how large each log file is, and thus how many entries may exist inside the log. By default this is approximately 500KB per log file, and there are nearly 20 such log files.") . '

' . - gettext("NOTE: Log sizes are changed the next time a log file is cleared or deleted. To immediately increase the size of the log files, you must first save the options to set the size, then clear all logs using the \"Reset Log Files\" option farther down this page. ") . + gettext("NOTE: Log sizes are changed the next time a log file is cleared or deleted. To immediately increase the size of the log files, first save the options to set the size, then clear all logs using the \"Reset Log Files\" option farther down this page. ") . gettext("Be aware that increasing this value increases every log file size, so disk usage will increase significantly.") . '

' . gettext("Disk space currently used by log files is: ") . exec("/usr/bin/du -sh /var/log | /usr/bin/awk '{print $1;}'") . gettext(" Remaining disk space for log files: ") . exec("/bin/df -h /var/log | /usr/bin/awk '{print $4;}'"); $remoteloghelp = gettext("This option will allow the logging daemon to bind to a single IP address, rather than all IP addresses.") . - gettext("If you pick a single IP, remote syslog servers must all be of that IP type. If you wish to mix IPv4 and IPv6 remote syslog servers, you must bind to all interfaces.") . + gettext("If a single IP is picked, remote syslog servers must all be of that IP type. To mix IPv4 and IPv6 remote syslog servers, bind to all interfaces.") . "

" . gettext("NOTE: If an IP address cannot be located on the chosen interface, the daemon will bind to all addresses."); @@ -336,7 +336,7 @@ $section->addInput(new Form_Button( 'Reset Log Files', null, 'fa-trash' -))->addClass('btn-danger btn-sm')->setHelp('Clears all local log files and reinitializes them as empty logs. This also restarts the DHCP daemon. Use the Save button first if you have made any setting changes.'); +))->addClass('btn-danger btn-sm')->setHelp('Clears all local log files and reinitializes them as empty logs. This also restarts the DHCP daemon. Use the Save button first if any setting changes have been made.'); $form->add($section); $section = new Form_Section('Remote Logging Options'); diff --git a/src/usr/local/www/status_openvpn.php b/src/usr/local/www/status_openvpn.php index 452f84cb17..8e58f28a19 100644 --- a/src/usr/local/www/status_openvpn.php +++ b/src/usr/local/www/status_openvpn.php @@ -356,7 +356,7 @@ include("head.inc"); ?> } if ($DisplayNote) { - print_info_box(gettext("If you have custom options that override the management features of OpenVPN on a client or server, they will cause that OpenVPN instance to not work correctly with this status page.")); + print_info_box(gettext("If there are custom options that override the management features of OpenVPN on a client or server, they will cause that OpenVPN instance to not work correctly with this status page.")); } if ((empty($clients)) && (empty($servers)) && (empty($sk_servers))) {