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

stattrans.pl broken



Hi,

Due to the change
http://cvs.debian.org/webwml/english/template/debian/languages.wml.diff?r1=1.134&r2=1.135&cvsroot=webwml
stattrans.pl was broken (it couldn't find portuguese_br,
chinese_{cn,hk,tw}).

I already committed the attached patch to fix it as soon as possible,
but there may be a better way to handle this problem. So feedbacks are
welcome.

Regards,

-- 
Thomas Huriaux
Index: stattrans.pl
===================================================================
RCS file: /cvs/webwml/webwml/stattrans.pl,v
retrieving revision 1.66
diff -u -r1.66 stattrans.pl
--- stattrans.pl	25 Apr 2005 17:23:55 -0000	1.66
+++ stattrans.pl	1 Jun 2005 08:50:01 -0000
@@ -54,6 +54,11 @@
 my $l = Webwml::Langs->new($opt_w);
 my %langs = $l->name_iso();
 
+delete ( $langs{"chinese_hk"} );
+delete ( $langs{"portuguese_br"} );
+delete ( $langs{"chinese_cn"} );
+delete ( $langs{"chinese_tw"} );
+
 my $transignore = Webwml::TransIgnore->new($opt_w);
 
 my $cvs = Local::Cvsinfo->new();

Attachment: pgp3JAESL0kS2.pgp
Description: PGP signature


Reply to: