fix translation domain
This commit is contained in:
parent
ea5b1f4d67
commit
74387cf21f
@ -159,7 +159,7 @@ class FileType extends AbstractType
|
||||
}
|
||||
|
||||
if (null !== $this->translator) {
|
||||
$message = $this->translator->trans($messageTemplate, $messageParameters);
|
||||
$message = $this->translator->trans($messageTemplate, $messageParameters, 'validators');
|
||||
} else {
|
||||
$message = strtr($messageTemplate, $messageParameters);
|
||||
}
|
||||
|
Reference in New Issue
Block a user