[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

wrong stats for chinese translation status



Hi,

The stats on
  http://www.nl.debian.org/devel/website/stats/
for Chinese are wrong (multiplied by 2), and the same on
  http://www.nl.debian.org/devel/website/stats/zh-tw.html

The attached patch for stattrans.pl should fix this problem. Can you check
it and fix it ?

Regards,

-- 
Thomas Huriaux
Index: stattrans.pl
===================================================================
RCS file: /cvs/webwml/webwml/stattrans.pl,v
retrieving revision 1.63
diff -u -r1.63 stattrans.pl
--- stattrans.pl	16 Sep 2004 23:40:06 -0000	1.63
+++ stattrans.pl	15 Apr 2005 12:14:07 -0000
@@ -262,6 +262,7 @@
         print "$l.html " if ($config{'verbose'});
 
         $t_body = $u_body = $o_body = "";
+        $translated{$lang} = $outdated{$lang} = $untranslated{$lang} = 0;
 
         # get stats about files
         foreach $file (@filenames) {

Attachment: signature.asc
Description: Digital signature


Reply to: