On 17/07/07, Carl Franks <[EMAIL PROTECTED]> wrote:
On 17/07/07, kewei xiao <[EMAIL PROTECTED]> wrote:
> Hi Carl
>
> if the labels are not auto-generated, how can they be localized?
label_loc()
> Also how legend and button value get localized?
If you edit Element/fieldset.pm to use mk_output_accessors() to create
'legend' rather than using mk_accessors(), then you'll also get a
legend_loc() method.
( remember to commit the change :)
...and value_loc() already exists.
I've committed some changes - so fieldset->legend() now has *_loc()
and *_xml() variants.
I've also changed content_button->content() - it wasn't being
xml-escaped. It is now escaped, so you have to use content_xml() to
pass raw markup.
There's also now a content_button->content_loc() method.
Carl
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu