JMSTranslationBundle icon indicating copy to clipboard operation
JMSTranslationBundle copied to clipboard

Extractor seems forget 'placeholder' form in sf 2.6.3

Open acrozes opened this issue 9 years ago • 2 comments

Before:

$form->add('category', 'choice', array(
   'translation_domain' => 'MyDomain',
   'choices' => array('politics', 'media'),
   'empty_value' => 'trans_key1',
));

After:

$form->add('category', 'choice', array(
   'translation_domain' => 'MyDomain',
   'choices' => array('politics', 'media'),
   'placeholder' => 'trans_key1',
));

trans_key1 is not added by xtractor in dico ... Thx

acrozes avatar Jan 23 '15 21:01 acrozes

If this could be fixed as soon as possible, that would be nice. There is a pull request (with a little bug) for this issue @caada519bd6fca9cf42398626d0ed15d222db982

StefanNiederkofler avatar Feb 14 '15 07:02 StefanNiederkofler

I know it was a long time ago you posted this issue. Do you still experiencing this? Or is it fixed in the latest version of the bundle?

Nyholm avatar Aug 04 '16 16:08 Nyholm