open F, "$dir/table-${b}.html" or die $!;
print foreach <F>;
close F;
+
+ print "<p><a href='qualified-list-$b.txt'>qualified list</a></p>\n" if -e "$dir/qualified-list-$b.txt";
}
print <<_EOF_;
our $QUALIFIED_CUTOFF = 80;
my %opts;
-getopts('U:', \%opts) or die;
+getopts('U:l:', \%opts) or die;
my $po_url = $opts{'U'} || 'po';
+my $list_file = $opts{'l'};
+open LIST, '>', $opts{'l'} if $list_file;
my $everything;
my $errors;
print " ";
}
print "</td>\n";
+
+ print LIST "$catalog/$lang\n" if $list_file and $pct >= $QUALIFIED_CUTOFF;
}
print "<td align=\"center\">";
print "</table>\n";
print "</div>\n";
+close LIST if $list_file;
sub list_sum {
popd
# remove old data in case it contained garbage
- rm -rf $WEBDIR/po-$branch $WEBDIR/table-$branch.html
+ rm -rf $WEBDIR/po-$branch $WEBDIR/qualified-list-$branch.txt $WEBDIR/table-$branch.html
mkdir -p $WEBDIR/po-$branch
files=`find $PGSRC.work -name nls.mk`
$MYDIR/pg-make-po -o $WEBDIR/po-$branch -v $branch $files
- (cd $WEBDIR/po-$branch && $MYDIR/nls-status-table -U po-$branch *.pot *.po >$WEBDIR/table-$branch.html)
+ (cd $WEBDIR/po-$branch && $MYDIR/nls-status-table -U po-$branch -l $WEBDIR/qualified-list-$branch.txt *.po *.pot >$WEBDIR/table-$branch.html)
# $MYDIR/pg-make-conflicts $branch $MYDIR $WEBDIR