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

Re: About english/template/debian/countries*.wml



On Fri, Jul 27, 2001 at 01:33:15AM +0200, Josip Rodin wrote:
> On Fri, Jul 27, 2001 at 01:33:17AM +0200, Denis Barbier wrote:
> > country translations are currently put into 2 different files, named
> > countries.wml and countries_perl.wml.  It would be nice to only have a
> > single file.
> 
> This occured to me, I just didn't know how to do it. In fact, I counted on
> your curiousity and expertize :)
> 
> > Here is a solution by generating countries.def (which supersedes
> > countries.wml) from countries_perl.wml, by running
> >      eperl -B '<:' -E ':>' countries_perl.wml
> > I suggest to rename countries_perl.wml into countries.wml,
> 
> We'd have to check which files include/depend on the countries template, so
> I'd better not do this.

I did not mention that new countries.wml do include countries.def (aka
current countries.wml), so you only have to replace countries_perl by
countries in all documents (which is a very short list in fact).
The only problem I can see is if there was a
   #use wml::debian::countries
inside an ePerl section, but I checked and did not find any.
So even if I did not compile the whole site, I am quite confident with
this patch.

Denis



Reply to: