From 47e3761950aeaf817e46f05912edb63c9e6054f2 Mon Sep 17 00:00:00 2001 From: Alexandr Date: Tue, 26 Jun 2018 12:40:44 +0200 Subject: [PATCH 1/5] Update framework.rst --- reference/configuration/framework.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 50f64524b80..2233d5cd842 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -94,6 +94,7 @@ Configuration * `fallbacks`_ * `logging`_ * :ref:`paths ` + * :ref:`default_path ` * `property_access`_ * `magic_call`_ * `throw_exception_on_invalid_index`_ @@ -1560,6 +1561,16 @@ paths This option allows to define an array of paths where the component will look for translation files. +.. _reference-translator-default_path: + +default_path +..... + +**type**: ``string`` **default**: ``[]`` + +This option allows to define a path where the component will write +the translation files. + property_access ~~~~~~~~~~~~~~~ From 29308c9d4aeb80d36a21d67b0c2a291665c1d43b Mon Sep 17 00:00:00 2001 From: Alexandr Date: Tue, 26 Jun 2018 13:17:48 +0200 Subject: [PATCH 2/5] Update framework.rst --- reference/configuration/framework.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 2233d5cd842..110b567e9c5 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1566,7 +1566,7 @@ for translation files. default_path ..... -**type**: ``string`` **default**: ``[]`` +**type**: ``string`` **default**: ``%kernel.project_dir%/translations`` This option allows to define a path where the component will write the translation files. From 052b07ba2e24fc41d4833bad297a4335e90364fe Mon Sep 17 00:00:00 2001 From: Alexandr Podgorbunschih Date: Fri, 13 Jul 2018 09:12:51 +0200 Subject: [PATCH 3/5] add missing details, and more explicit description for default_path option --- reference/configuration/framework.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 110b567e9c5..c68c95e2a3d 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1564,12 +1564,15 @@ for translation files. .. _reference-translator-default_path: default_path -..... +............ + +.. versionadded:: 3.4 +The ``default_path`` option was introduced in Symfony 3.4. **type**: ``string`` **default**: ``%kernel.project_dir%/translations`` -This option allows to define a path where the component will write -the translation files. +This option allows to define the path where the application translations files +are stored. property_access ~~~~~~~~~~~~~~~ From ff52a0510a73201732904b59924c48ae3d7d6b48 Mon Sep 17 00:00:00 2001 From: Alexandr Podgorbunschih Date: Fri, 13 Jul 2018 09:35:36 +0200 Subject: [PATCH 4/5] fix travis markup error --- reference/configuration/framework.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index d7723db9889..ce46ff6afed 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1602,8 +1602,7 @@ default_path ............ .. versionadded:: 3.4 -The ``default_path`` option was introduced in Symfony 3.4. - + The ``default_path`` option was introduced in Symfony 3.4. **type**: ``string`` **default**: ``%kernel.project_dir%/translations`` This option allows to define the path where the application translations files From 7529ad9a21722ed6b73d87775bcde5538b4694d3 Mon Sep 17 00:00:00 2001 From: Alexandr Podgorbunschih Date: Fri, 13 Jul 2018 09:42:20 +0200 Subject: [PATCH 5/5] fix travis markup error --- reference/configuration/framework.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index ce46ff6afed..146e0c42a1d 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1603,6 +1603,7 @@ default_path .. versionadded:: 3.4 The ``default_path`` option was introduced in Symfony 3.4. + **type**: ``string`` **default**: ``%kernel.project_dir%/translations`` This option allows to define the path where the application translations files