« back to langs report';
$s .= sprintf('
Differences between %s source and %s target
',
substr($source_file, strpos($source_file, '/langs/')+7), $target_lang);
foreach (array('missing', 'notrans', 'extra') as $type) {
if (count($diff[$type]) > 0) {
$s .= sprintf('%d %s:
', count($diff[$type]), $type);
$s .= '';
foreach ($diff[$type] as $l)
$s .= sprintf(";%s\n\n", htmlspecialchars($l));
$s .= '
';
}
}
header('Content-Type: text/html;charset=utf-8');
?>