I use JMS Translation Bundle (https://github.com/schmittjoh/JMSTranslationBundle) in a project.
I have this function, which return me a array, with @Ignore before each label. But JMS generate translation key even if the @Ignore is present.
private function getStatusSelect()
{
return array(
"URLverify"=>array(
'label' => /** @Ignore */'Certificates left',
'url' => $this->generateUrl('admin_liste_verif_ready'),
),
"URLlistToAccept"=>array(
'label' => /** @Ignore */'List to accept',
'url' => $this->generateUrl('admin_liste_verif'),
),
"URLaccepted"=>array(
'label' => /** @Ignore */'Accepted',
'url' => $this->generateUrl('admin_liste_index_accepted_action'),
),
"URLrejected"=>array(
'label' => /** @Ignore */'Rejected',
'url' => $this->generateUrl('admin_liste_index_rejected_action'),
),
);
}
In lot of another places in my code @Ignore is perfectly working, but not in this case.
Do you know why ?
Thanks to you
Bouffe