aboutsummaryrefslogtreecommitdiffstats
path: root/stattrans.pl
diff options
context:
space:
mode:
authorTobias Quathamer <toddy>2006-03-13 12:46:55 +0000
committerTobias Quathamer <toddy>2006-03-13 12:46:55 +0000
commit12f2128870ba26c14b14e61eef6e51157b612b90 (patch)
tree6d246b6b71785707d58f3ac493f64d8ac5b4a385 /stattrans.pl
parentf2918d182c4520e8dfe9e63932eec3cded839da4 (diff)
Fixed another calculation error
CVS version numbers stattrans.pl: 1.74 -> 1.75
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-xstattrans.pl2
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>&nbsp;</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&nbsp;&permil;)</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&nbsp;&permil;)</td></tr>\n", $base, $base, $sizes{$file}, int($sizes{$file}/$nsize * 100000 + 50) / 100;
}
$untranslated{$lang}++;
$untranslated_s{$lang} += $sizes{$file};

© 2014-2024 Faster IT GmbH | imprint | privacy policy