Skip to content

Commit a451f20

Browse files
bsraminMrYamous
andauthored
Update translation.rst
Co-authored-by: Matthieu Lempereur <[email protected]>
1 parent 2865510 commit a451f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ The ``translation:extract`` command looks for missing translations in:
457457
* Any PHP file/class stored in the ``src/`` directory that uses
458458
:ref:`Constraints Attributes <validation-constraints>` with ``*message`` named argument(s).
459459

460-
To read PHP files, is used the new ``PhpAstExtractor`` service supports all kinds of trans() function calls, usages of TranslatableMessage class, messages defined in validation constraints, etc...
460+
To read PHP files, is used the new ``PhpAstExtractor`` service supports all kinds of ``trans()`` function calls, usages of :class:`Symfony\\Component\\Translation\\TranslatableMessage` class, messages defined in validation constraints, etc...
461461

462462
To use the new translation extractor, install the ``nikic/php-parser`` package using Composer, before using `translation:extract`.
463463

0 commit comments

Comments
 (0)