view/downtimes: Add missing translate

refs #9266
This commit is contained in:
Alexander Fuhr 2015-08-10 10:20:49 +02:00
parent aa7adee21f
commit f0cabf059a
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ if (! $this->compact): ?>
<?php if ($downtime->start <= time() && ! $downtime->is_in_effect): ?>
<strong><?= $this->translate('Started'); ?></strong>
<br>
Ends <?= $this->timeUntil($downtime->end, $this->compact) ?>
<?= sprintf($this->translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?>
<?php else: ?>
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
<br>

View File

@ -4,7 +4,7 @@
<?php if ($downtime->start <= time() && ! $downtime->is_in_effect): ?>
<strong><?= $this->translate('Started'); ?></strong>
<br>
Ends <?= $this->timeUntil($downtime->end, $this->compact) ?>
<?= sprintf($this->translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?>
<?php else: ?>
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
<br>

View File

@ -9,7 +9,7 @@
<?php if ($downtime->start <= time() && ! $downtime->is_in_effect): ?>
<strong><?= $this->translate('Started'); ?></strong>
<br>
Ends <?= $this->timeUntil($downtime->end, $this->compact) ?>
<?= sprintf($this->translate('Ends %s'), $this->timeUntil($downtime->end, $this->compact)) ?>
<?php else: ?>
<strong><?= $downtime->is_in_effect ? $this->translate('Expires') : $this->translate('Starts'); ?></strong>
<br>