Skip to content

Commit 02ad362

Browse files
committed
minor #15057 [Translation] Update translation.rst (sebpacz)
This PR was merged into the 4.4 branch. Discussion ---------- [Translation] Update translation.rst The `trans()` in the `translator` service is a method, not a function. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- e98f953 [Translation] Update translation.rst
2 parents e40b5d5 + e98f953 commit 02ad362

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
@@ -352,7 +352,7 @@ The ``translation:update`` command looks for missing translations in:
352352
defined in the :ref:`twig.default_path <config-twig-default-path>` and
353353
:ref:`twig.paths <config-twig-paths>` config options);
354354
* Any PHP file/class that injects or :doc:`autowires </service_container/autowiring>`
355-
the ``translator`` service and makes calls to the ``trans()`` function.
355+
the ``translator`` service and makes calls to the ``trans()`` method.
356356

357357
.. versionadded:: 4.3
358358

0 commit comments

Comments
 (0)