Skip to content

Commit 6f50d90

Browse files
committed
[symfony#6989] some minor tweaks
1 parent 7620abf commit 6f50d90

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

reference/configuration/framework.rst

+8-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Configuration
8686
* :ref:`enabled <reference-translator-enabled>`
8787
* `fallbacks`_
8888
* `logging`_
89-
* `paths`_
89+
* :ref:`paths <reference-translator-paths>`_
9090
* `property_access`_
9191
* `magic_call`_
9292
* `throw_exception_on_invalid_index`_
@@ -1316,12 +1316,18 @@ for a given key. The logs are made to the ``translation`` channel and at the
13161316
``debug`` for level for keys where there is a translation in the fallback
13171317
locale and the ``warning`` level if there is no translation to use at all.
13181318

1319+
.. _reference-translator-paths:
1320+
13191321
paths
13201322
.....
13211323

13221324
**type**: ``array`` **default**: ``[]``
13231325

1324-
This option allows to define an array of paths where the component will look for translation files.
1326+
.. versionadded:: 2.8
1327+
The ``paths`` option was introduced in Symfony 2.8.
1328+
1329+
This option allows to define an array of paths where the component will look
1330+
for translation files.
13251331

13261332
property_access
13271333
~~~~~~~~~~~~~~~

translation.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,8 @@ For more options, see :ref:`component-translator-message-catalogs`.
374374

375375
.. note::
376376

377-
You can add other directories with the ``paths`` option in the configuration:
377+
You can add other directories with the :refs:`paths <reference-translator-paths>`
378+
option in the configuration:
378379

379380
.. configuration-block::
380381

0 commit comments

Comments
 (0)