fix translation of ?solved? literals for Stations

This commit is contained in:
oliver 2016-02-02 12:02:38 +01:00
parent 4f0c7e2fa8
commit 011bae5cd8

View file

@ -97,10 +97,10 @@
<span class="xp">
<?php if($group['tried']) : ?>
<?php if($group['solved']) : ?>
<?=_(sprintf('solved at %s', $timeFormatter->format(new \DateTime($group['solved']))))?>
<?=sprintf(_('solved at %s'), $timeFormatter->format(new \DateTime($group['solved'])))?>
<i class="fa fa-check-circle fa-fw"></i>
<?php else : ?>
<?=_(sprintf('failed at %s', $timeFormatter->format(new \DateTime($group['solved']))))?>
<?=sprintf(_('failed at %s'), $timeFormatter->format(new \DateTime($group['solved'])))?>
<i class="fa fa-times-circle fa-fw"></i>
<?php endif ?>
<?php else : ?>