|
@@ -423,7 +423,7 @@ EOT;
|
|
foreach ($choices as $value => $text) {
|
|
foreach ($choices as $value => $text) {
|
|
if ($catalogue) {
|
|
if ($catalogue) {
|
|
if (null !== $this->translator) {
|
|
if (null !== $this->translator) {
|
|
- $this->translator->trans($text, array(), $catalogue);
|
|
|
|
|
|
+ $text = $this->translator->trans($text, array(), $catalogue);
|
|
// NEXT_MAJOR: Remove this check
|
|
// NEXT_MAJOR: Remove this check
|
|
} elseif (method_exists($fieldDescription->getAdmin(), 'trans')) {
|
|
} elseif (method_exists($fieldDescription->getAdmin(), 'trans')) {
|
|
$text = $fieldDescription->getAdmin()->trans($text, array(), $catalogue);
|
|
$text = $fieldDescription->getAdmin()->trans($text, array(), $catalogue);
|