Re: files in international/l10n take too long to process
On Fri, Jul 28, 2000 at 12:26:27AM +0200, Denis Barbier wrote:
> > > * Templates defining complex tags have to include wml::sys::compat1
> >
> > Um, what are tags are complex? Pardon my ignorance, I'm still rookie in wml.
>
> Sure, complex (or also called container) tags are like <foo>...</foo>
Ah, those defined with <define-container>?
> > > * In webwml/english/template/debian/votebar.wml two macros <sub>
> > > and <current> have no definition, and i had to comment line 395.
> >
> > Indeed, I can't find a definition for that. But (with 1.7.4) it gets filled
> > in, after pass 1, with:
> >
> > <define-tag sub>2000</define-tag>
> > <define-tag current>'../../english/vote'</define-tag>
> >
> > I don't know how it happens <shrug>.
>
> Okay, i understand how it works now. These tags are defined in
> amend_*.wml and vote_*.wml.
> But some files under vote/ (e.g. howto_*.wml) include
> wml::debian::votebar without defining these tags. And magically
> <sub> was not removed during pass 2 by wml 1.7.4, whereas it is by wml
> 2.0.2 which causes a Perl syntax error.
So, the fix is to put
<define-tag sub>$(CUR_YEAR)</define-tag>
<define-tag current>'$(ENGLISHDIR)/vote'</define-tag>
on top of
howto_follow.wml
howto_proposal.wml
howto_result.wml
howto_vote.wml
? Sounds kinda redundant...
--
Digital Electronic Being Intended for Assassination and Nullification
Reply to: