Merge pull request #2827 from NOYB/Status_-_Remove_Personalizations

This commit is contained in:
Stephen Beaver 2016-04-04 09:52:25 -04:00
commit 94463e8581
12 changed files with 15 additions and 15 deletions

View File

@ -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 ("<?=gettext('You have moved one or more widgets but have not yet saved')?>");
return ("<?=gettext('One or more widgets have been moved but have not yet been saved')?>");
} else {
return undefined;
}

View File

@ -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.'), '<a href="services_captiveportal_zones.php">', '</a>'), '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.'), '<a href="services_captiveportal_zones.php">', '</a>'), 'warning', false);
}
endif;
?>

View File

@ -161,7 +161,7 @@ if (is_array($config['virtualip']['vip'])) {
if ($carpcount == 0) {
print_info_box(gettext('No CARP interfaces have been defined.') . '<br />' .
'<a href="system_hasync.php" class="alert-link">' .
gettext("You can configure high availability sync settings here.") .
gettext("High availability sync settings can be configured here.") .
'</a>');
} else {
?>

View File

@ -77,7 +77,7 @@ include("head.inc");
<p class="text-center">
<strong><?=gettext("Note"); ?>:</strong>
<?=sprintf(gettext('If you cannot see the graph, you may have to install the %1$sAdobe SVG viewer%2$s'), '<a href="http://www.adobe.com/svg/viewer/install/" target="_blank">', '</a>')?>
<?=sprintf(gettext('If the graph cannot be seen, the %1$sAdobe SVG viewer%2$s may need to be installed'), '<a href="http://www.adobe.com/svg/viewer/install/" target="_blank">', '</a>')?>
</p>
</div>

View File

@ -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 <strong>not</strong> 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");
?>

View File

@ -533,7 +533,7 @@ if (ipsec_enabled()) {
<div class="infoblock blockopen">
<?php
}
print_info_box(sprintf(gettext('You can configure IPsec %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
?>
</div>
<?php

View File

@ -159,7 +159,7 @@ if (ipsec_enabled()) {
<div class="infoblock blockopen">
<?php
}
print_info_box(sprintf(gettext('You can configure IPsec %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
?>
</div>
<?php

View File

@ -158,7 +158,7 @@ if (ipsec_enabled()) {
<div class="infoblock blockopen">
<?php
}
print_info_box(sprintf(gettext('You can configure IPsec %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
?>
</div>
<?php

View File

@ -142,7 +142,7 @@ if (ipsec_enabled()) {
<div class="infoblock blockopen">
<?php
}
print_info_box(sprintf(gettext('You can configure IPsec %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
print_info_box(sprintf(gettext('IPsec can be configured %1$shere%2$s.'), '<a href="vpn_ipsec.php">', '</a>'), 'info', false);
?>
</div>
<?php

View File

@ -140,7 +140,7 @@ if ($_POST) {
}
if (is_subsystem_dirty('loadbalancer')) {
print_apply_box(gettext("The load balancer configuration has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));
print_apply_box(gettext("The load balancer configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
}
/* active tabs */

View File

@ -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.") .
'<br /><br />' .
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.") . '<br /><br />' .
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.") .
"<br /><br />" .
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');

View File

@ -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))) {