translate time string in another template

This commit is contained in:
Andrew Engelbrecht 2018-05-10 22:16:06 -04:00 committed by Frédéric Guillot
parent eafaa4b037
commit 1a7e26f20a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<?php if (! empty($subtask['time_estimated'])): ?>
<li>
<?= t('Time tracking:') ?>
<strong><?= $this->text->e($subtask['time_estimated']).'h' ?></strong> <?= t('estimated') ?>
<?= t('%sh estimated', n($subtask['time_estimated'])) ?>
</li>
<?php endif ?>
</ul>