# HG changeset patch # User Richard Laager # Date 1190994907 0 # Node ID b1d14929fda1fa361aa105d79a97bcc65e29b3c0 # Parent 60485bc8ff7f8ae97c37f51eca70e73dcaf2f835 applied changes from 71a27720e49364f4f24fc09309442fc3a2c17bc9 through b2924d43f1e1cb2d01705932d9a06df6eedf7ac0 diff -r 60485bc8ff7f -r b1d14929fda1 po/stats.pl --- 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};