Closed
Description
Symfony version(s) affected: 5.2.8
Description
When default locale of the framework is set on for example dutch the following example will be returned:
This value should satisfy at least one of the following constraints: [1] Deze waarde moet leeg zijn. [2] Deze waarde is te lang. Hij mag maximaal 100 tekens bevatten.
As you can see the languages are mixed.
How to reproduce
Set the locale of framework to the language dutch. I think this also problem with other languages.
Code example
new AtLeastOneOf(
[
'constraints' => [
new Blank(),
new Length(
[
'max' => 100,
]
),
],
]
);