$input_errors[]=gettext(sprintf("The low latency threshold needs to be less than the default high latency threshold (%d)",$apinger_default['latencyhigh']));
$input_errors[]=sprintf(gettext('The low latency threshold needs to be less than the default high latency threshold (%d)'),$apinger_default['latencyhigh']);
$input_errors[]=gettext(sprintf("The high latency threshold needs to be higher than the default low latency threshold (%d)",$apinger_default['latencylow']));
$input_errors[]=sprintf(gettext('The high latency threshold needs to be higher than the default low latency threshold (%d)'),$apinger_default['latencylow']);
}
}
...
...
@@ -253,11 +253,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$input_errors[]=gettext(sprintf("The low Packet Loss threshold needs to be less than the default high Packet Loss threshold (%d)",$apinger_default['losshigh']));
$input_errors[]=sprintf(gettext('The low Packet Loss threshold needs to be less than the default high Packet Loss threshold (%d)'),$apinger_default['losshigh']);
$input_errors[]=gettext(sprintf("The high Packet Loss threshold needs to be higher than the default low Packet Loss threshold (%d)",$apinger_default['losslow']));
$input_errors[]=sprintf(gettext('The high Packet Loss threshold needs to be higher than the default low Packet Loss threshold (%d)'),$apinger_default['losslow']);
}
}
...
...
@@ -283,11 +283,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
<?=gettext(sprintf("Low and high thresholds for latency in milliseconds. Default is %d/%d.",$apinger_default['latencylow'],$apinger_default['latencyhigh']));?>
<?=sprintf(gettext('Low and high thresholds for latency in milliseconds. Default is %d/%d.'),$apinger_default['latencylow'],$apinger_default['latencyhigh'])?>
<?=gettext(sprintf("How often that an ICMP probe will be sent in seconds. Default is %d.",$apinger_default['interval']));?><br/><br/>
<?=sprintf(gettext('How often that an ICMP probe will be sent in seconds. Default is %d.'),$apinger_default['interval'])?><br/><br/>
<?=gettext("NOTE: The quality graph is averaged over seconds, not intervals, so as the probe interval is increased the accuracy of the quality graph is decreased.");?>
<?=gettext(sprintf("How many replies should be used to compute average delay for controlling \"delay\" alarms? Default is %d.",$apinger_default['avg_delay_samples']));?>
<?=sprintf(gettext('How many replies should be used to compute average delay for controlling "delay" alarms? Default is %d.'),$apinger_default['avg_delay_samples'])?>
<?=gettext(sprintf("The delay (in qty of probe samples) after which loss is computed. Without this, delays longer than the probe interval would be treated as packet loss. Default is %d.",$apinger_default['avg_loss_delay_samples']));?>
<?=sprintf(gettext('The delay (in qty of probe samples) after which loss is computed. Without this, delays longer than the probe interval would be treated as packet loss. Default is %d.'),$apinger_default['avg_loss_delay_samples'])?>