# HG changeset patch
# User Nathan Walp <nwalp@pidgin.im>
# Date 1066003843 0
# Node ID 136daef154f64b24c3353d499def499e025f24c6
# Parent  59ffe137176d80d538338e64ac9ad7107c9f5f4e
[gaim-migrate @ 7820]
adding images of width 0 just didn't sit right with me

committer: Tailor Script <tailor@pidgin.im>

diff -r 59ffe137176d -r 136daef154f6 po/stats.pl
--- a/po/stats.pl	Sun Oct 12 21:00:26 2003 +0000
+++ b/po/stats.pl	Mon Oct 13 00:10:43 2003 +0000
@@ -71,8 +71,17 @@
 	$name = $lang{$po};
 	$name = code2language($po) unless $name ne "";
 	$name = "???" unless $name ne "";
-	printf "<tr$color><td>%s(%s.po)</td><td>%d</td><td>%0.2f</td><td>%d</td><td>%0.2f</td><td>%d</td><td>%0.2f</td><td>%d</td><td>%0.2f</td><td><img src='bar_g.gif' height='15' width='%0.0f' /><img src='bar_b.gif' height='15' width='%0.0f' /><img src='bar_r.gif' height='15' width='%0.0f' /><img src='bar_y.gif' height='15' width='%0.0f' /></tr>\n",
-	$name, $po, $trans, $transp, $fuzz, $fuzzp, $untrans, $untransp, $gone, $gonep, $transp*2, $fuzzp*2, $untransp*2, $gonep*2;
+	printf "<tr$color><td>%s(%s.po)</td><td>%d</td><td>%0.2f</td><td>%d</td><td>%0.2f</td><td>%d</td><td>%0.2f</td><td>%d</td><td>%0.2f</td><td>",
+	$name, $po, $trans, $transp, $fuzz, $fuzzp, $untrans, $untransp, $gone, $gonep;
+	printf "<img src='bar_g.gif' height='15' width='%0.0f' />", $transp*2
+	unless $transp*2 < 0.5;
+	printf "<img src='bar_b.gif' height='15' width='%0.0f' />", $fuzzp*2
+	unless $fuzzp*2 < 0.5;
+	printf "<img src='bar_r.gif' height='15' width='%0.0f' />", $untransp*2
+	unless $untransp*2 < 0.5;
+	printf "<img src='bar_y.gif' height='15' width='%0.0f' />", $gonep*2
+	unless $gonep*2 < 0.5;
+	print "</tr>\n";
 }
 print "</table></td></tr></table>\n";
 print "Latest gaim.pot generated $now: <a href='gaim.pot'>gaim.pot</a><br />\n";