From 5029cb2289966617cfe80c30c2537a7e29af3a98 Mon Sep 17 00:00:00 2001 From: Mathieu Santostefano Date: Wed, 19 Oct 2022 15:07:52 +0200 Subject: [PATCH] Add new cases covered by PhpAstExtractor --- translation.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/translation.rst b/translation.rst index aea4501b593..2e0fa9ebf45 100644 --- a/translation.rst +++ b/translation.rst @@ -476,6 +476,8 @@ The ``translation:extract`` command looks for missing translations in: * Any PHP file/class stored in the ``src/`` directory that creates :ref:`translatable-objects` using the constructor or the ``t()`` method or calls the ``trans()`` method. +* Any PHP file/class stored in the ``src/`` directory that uses + :ref:`Constraints Attributes ` with ``*message`` named argument(s). .. _translation-resource-locations: