From: Alistair Y. <ali...@sm...> - 2005-07-13 10:51:53
|
hmm, what compile error do you get Alexis? I tested this with the "Enter web site" text with a Facility call and it was ok. What is that literal for? I noticed that a lot of Facility calls have a literal element but it's not localised text, it's some sort of #define if you know what I mean. I'm updating i81n.Localiser to strip whitespace from the resources attribute - line breaks for legibility cause problems! Alistair On 13 Jul 2005, at 11:31, Alexis O'Connor wrote: > Alistair Young wrote: > >> I've also committed all the localised templates from style_default/ >> default. >> > > The following templates do not compile at the moment: > > style_default\default\applettop.html > style_default\default\error403.html > style_default\default\login_anon.html > style_default\default\login_step4.html > > The commonality seems to be that they contain localized calls to > Facility methods, e.g. > > <target method="variable"><variable name="facility"/></target> > <parameters> > <variable name="request"/> > <variable name="writer"/> > <literal type="String"><localise id="page.title.text"></ > localise></literal> > </parameters> > > I tried de-localizing such markup and it compiled OK. Is there some > code missing to handle these cases? > > > Alexis > > > P.S. The 'compile-templates' target of the build.xml is very handy > in this regard. Adding the attribute 'failonerror=no' to the > template-compiler element will show all these up, otherwise it just > baulks at the first failure. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in > dual > core and dual graphics technology at this free one hour event > hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/ > go/dualwebinar > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers > |