Mercurial > pidgin
changeset 20237:b1d14929fda1
applied changes from 71a27720e49364f4f24fc09309442fc3a2c17bc9
through b2924d43f1e1cb2d01705932d9a06df6eedf7ac0
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 28 Sep 2007 15:55:07 +0000 |
parents | 60485bc8ff7f |
children | 451b1e74689f |
files | po/stats.pl |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/po/stats.pl Fri Sep 28 15:54:45 2007 +0000 +++ b/po/stats.pl Fri Sep 28 15:55:07 2007 +0000 @@ -63,17 +63,16 @@ $trans = $fuzz = $untrans = 0; $po = $pos[$index]; print STDERR "$po..." if($ARGV[0] eq '-v'); - system("msgmerge $po.po $PACKAGE.pot -o $po.new 2>/dev/null"); + system("msgmerge -U $po.po $PACKAGE.pot 2>/dev/null"); if (($? & 127) == 2) { printf STDERR "Caught keyboard interrupt--exiting\n"; exit } - $_ = `msgfmt --statistics $po.new -o /dev/null 2>&1`; + $_ = `msgfmt --statistics $po -o /dev/null 2>&1`; chomp; if(/(\d+) translated message/) { $trans = $1; } if(/(\d+) fuzzy translation/) { $fuzz = $1; } if(/(\d+) untranslated message/) { $untrans = $1; } - unlink("$po.new"); $name = ""; $name = $lang{$po};