# HG changeset patch # User Mark Doliner # Date 1092629891 0 # Node ID 5130709f30667b32794c8334c38957059b59f92f # Parent 22e55a5d9265c05579fe1b01f48310f3ca666150 [gaim-migrate @ 10633] Fix some i18n stats n' stuff. From Stu. nosnilmot: This is "the web" one that I was referring to earlier. I mistakenly thought it changed the Gaim web site. committer: Tailor Script diff -r 22e55a5d9265 -r 5130709f3066 po/stats.pl --- a/po/stats.pl Mon Aug 16 04:12:00 2004 +0000 +++ b/po/stats.pl Mon Aug 16 04:18:11 2004 +0000 @@ -48,6 +48,7 @@ $total = $1; print "\n"; +print "$PACKAGE i18n statistics\n"; print "\n"; print "
\n"; @@ -60,9 +61,9 @@ system("msgmerge $po.po $PACKAGE.pot -o $po.new 2>/dev/null"); $_ = `msgfmt --statistics $po.new -o /dev/null 2>&1`; chomp; - if(/(\d+) translated messages/) { $trans = $1; } - if(/(\d+) fuzzy translations/) { $fuzz = $1; } - if(/(\d+) untranslated messages/) { $untrans = $1; } + if(/(\d+) translated message/) { $trans = $1; } + if(/(\d+) fuzzy translation/) { $fuzz = $1; } + if(/(\d+) untranslated message/) { $untrans = $1; } $transp = 100 * $trans / $total; $fuzzp = 100 * $fuzz / $total; $untransp = 100 * $untrans / $total;