Skip to content

Commit 928fb41

Browse files
committed
Reword
1 parent dbc7a2b commit 928fb41

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

validation/custom_constraint.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,9 @@ The ``addViolation()`` method call finally adds the violation to the context.
182182

183183
.. tip::
184184

185-
Validation error messages are automatically passed to the Symfony
186-
Translation component. If your application doesn't use translations, you
187-
can disable this behavior by calling the ``disableTranslation()`` method
188-
of ``ConstraintViolationBuilderInterface``.
185+
Validation error messages are automatically translated to the current application
186+
locale. If your application doesn't use translations, you can disable this behavior
187+
by calling the ``disableTranslation()`` method of ``ConstraintViolationBuilderInterface``.
189188

190189
.. versionadded:: 6.4
191190

0 commit comments

Comments
 (0)