Fix "since since" in the monitoring health view

Because timeSince() now includes the prefix, the prefix has to be removed from the format string.

refs #6778
This commit is contained in:
Eric Lippmann 2015-04-10 10:19:10 +02:00
parent 44ee4cd609
commit a84b3acee7
1 changed files with 4 additions and 1 deletions

View File

@ -54,7 +54,10 @@ $cp = $this->checkPerformance()->create($this->checkperformance);
<?php if ((bool) $this->programStatus->is_currently_running === true): ?>
<div class="backend-running">
<?= sprintf(
$this->translate('%s has been up and running with PID %d since %s'),
$this->translate(
'%1$s has been up and running with PID %2$d %3$s',
'Last format parameter represents the time running'
),
$this->backendName,
$this->programStatus->process_id,
$this->timeSince($this->programStatus->program_start_time)) ?>