Hi, In the file template/debian/legal_lists.wml, get_alphabetical_list lists the files in the current directory instead of the english directory. That's why translated pages such as legal/licences/{byclass,byname}.wml are empty if the other files are not translated (french is a good example). I think that the patch attached to this mail fix the problem. If I'm not wrong, can you fix it? Regards, -- Thomas Huriaux
Index: legal_lists.wml =================================================================== RCS file: /cvs/webwml/webwml/english/template/debian/legal_lists.wml,v retrieving revision 1.2 diff -u -r1.2 legal_lists.wml --- legal_lists.wml 13 Dec 2004 00:20:32 -0000 1.2 +++ legal_lists.wml 8 Mar 2005 12:22:08 -0000 @@ -54,7 +54,7 @@ } </protect> - opendir DIR, "./" or die "couldn't open directory: $!"; + opendir DIR, "$eng_dir/$cur_dir" or die "couldn't open directory: $!"; my @files = grep { /^$match\.wml$/ && -f "$eng_dir/$cur_dir/$_" } readdir(DIR);
Attachment:
signature.asc
Description: Digital signature