JMSTranslationBundle
JMSTranslationBundle copied to clipboard
Extractor seems forget 'placeholder' form in sf 2.6.3
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
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
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?