« back to langs report';
$s .= "
Diff {$source_file} ({$diff['a']}) against {$target_file} ({$diff['b']})
";
foreach (array('missing', 'notrans', 'extra') as $type) {
if (count($diff[$type]) > 0) {
$s .= sprintf('%d %s:
', count($diff[$type]), $type);
foreach ($diff[$type] as $l)
$s .= sprintf('%s
', htmlentities($l));
}
}
?>