« back to langs report'; $s .= sprintf('

Differences between %s source and %s target

', substr($source_file, strpos($source_file, '/langs/')+7), $target_lang); if($constitution) { $s .= '

Please translate constitution first

'; $s .= '

You can find it in svn. '; } if($license) { $s .= '

Please translate license first

'; $s .= '

You can find it in svn. '; } if($constitution || $license) { $s .= 'Please read page on wiki for more information about that.

'; } foreach (array('missing' => 'missing strings', 'notrans' => 'untranslated strings', 'extra' => 'unused (old) strings') as $type => $name) { if (count($diff[$type]) > 0) { $s .= sprintf('

%d %s:

', count($diff[$type]), $name); $s .= '
';
        foreach ($diff[$type] as $l)
            $s .= sprintf(";%s\n\n", htmlspecialchars($l));
        $s .= '
'; } } header('Content-Type: text/html;charset=utf-8'); ?>