I think Fabien was suggesting something along those lines:

echo $form['field']->renderLabel(__('Label Field'));

This way there are no string in the SomethingForm.class.php

Kiril

On Wed, Jan 21, 2009 at 1:03 AM, peterVG <[email protected]> wrote:
>
> Thanks David,
>
> This works for our project for now.
>
> However, Fabien responded to your patch "We cannot apply this patch as
> this is not a good practice to use () in the form classes."
>
> Fabien, what approach do you suggest instead? Are you planning to
> automatically include form widget labels, help text and validation
> messages in the i18n:extract task without requiring the i18n
> callables?
>
> --peter
>
>
>
> On Jan 20, 1:04 pm, David at Artefactual <[email protected]>
> wrote:
>> I've create a ticket and attached a patch regarding this issue 
>> @http://trac.symfony-project.org/ticket/5668
>>
>> David
>>
>> On Jan 16, 9:39 am, peterVG <[email protected]> wrote:
>>
>> > The 1.2 forms framework is currently not supported by the i18n:extract
>> > task. I searched for a ticket to get an idea of where this is on the
>> > dev roadmap but can't find one. Should I open a ticket?
>>
>> > --peter
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to