diff options
author | Tobias Quathamer <toddy> | 2006-03-13 12:46:55 +0000 |
---|---|---|
committer | Tobias Quathamer <toddy> | 2006-03-13 12:46:55 +0000 |
commit | 12f2128870ba26c14b14e61eef6e51157b612b90 (patch) | |
tree | 6d246b6b71785707d58f3ac493f64d8ac5b4a385 /stattrans.pl | |
parent | f2918d182c4520e8dfe9e63932eec3cded839da4 (diff) |
Fixed another calculation error
CVS version numbers
stattrans.pl: 1.74 -> 1.75
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-x | stattrans.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stattrans.pl b/stattrans.pl index fad71e94f01..c5a1e02b75b 100755 --- a/stattrans.pl +++ b/stattrans.pl @@ -338,7 +338,7 @@ foreach $lang (@search_in) { $u_body .= sprintf "<tr><td>%s</td><td> </td></tr>\n", $file; } else { (my $base = $file) =~ s/\.wml$//; - $u_body .= sprintf "<tr><td><a href=\"$opt_b/%s\">%s</a></td><td align=\"right\">%d</td><td>(%.2f ‰)</td></tr>\n", $base, $base, $sizes{$file}, int($sizes{$file}/$nsize * 100000 + .5) / 100; + $u_body .= sprintf "<tr><td><a href=\"$opt_b/%s\">%s</a></td><td align=\"right\">%d</td><td>(%.2f ‰)</td></tr>\n", $base, $base, $sizes{$file}, int($sizes{$file}/$nsize * 100000 + 50) / 100; } $untranslated{$lang}++; $untranslated_s{$lang} += $sizes{$file}; |