The overdue marker in list views is now translatable

This commit is contained in:
Simon Holywell 2012-04-27 09:22:36 +01:00
parent 23253fc40e
commit 02a99e2f9c

View File

@ -1180,7 +1180,7 @@ function IDF_Views_Issue_SummaryAndLabels($field, $issue, $extra='')
$out = ''; $out = '';
if('' != $issue->due_dtime and (time() >= strtotime($issue->due_dtime)) if('' != $issue->due_dtime and (time() >= strtotime($issue->due_dtime))
and in_array($issue->status, $issue->get_project()->getTagIdsByStatus('open'))) { and in_array($issue->status, $issue->get_project()->getTagIdsByStatus('open'))) {
$out = ' <span class="overdue">overdue</span>'; $out = ' <span class="overdue">' . __('overdue') . '</span>';
} }
if (count($tags)) { if (count($tags)) {
$out .= '<br /><span class="note">'.implode(', ', $tags).'</span>'; $out .= '<br /><span class="note">'.implode(', ', $tags).'</span>';