10000 [#6302] Avoid duplication the body text · symfony/symfony-docs@9448b1b · GitHub
[go: up one dir, main page]

Skip to content

Commit 9448b1b

Browse files
committed
[#6302] Avoid duplication the body text
1 parent c1f64b7 commit 9448b1b

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**type**: ``string``, ``boolean`` or ``null``
2+
3+
This option determines if the choice values should be translated and in which
4+
translation domain.
5+
6+
The values of the ``choice_translation_domain`` option can be ``true`` (reuse the current
7+
translation domain), ``false`` (disable translation), ``null`` (uses the parent translation
8+
domain or the default domain) or a string which represents the exact translation
9+
domain to use.

reference/forms/types/options/choice_translation_domain.rst.inc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,4 @@ choice_translation_domain
44
.. versionadded:: 2.7
55
The ``choice_translation_domain`` option was introduced in Symfony 2.7.
66

7-
**type**: ``string``, ``boolean`` or ``null``
8-
9-
This option determines if the choice values should be translated and in which
10-
translation domain.
11-
12-
The values of the ``choice_translation_domain`` option can be ``true`` (reuse the current
13-
translation domain), ``false`` (disable translation), ``null`` (uses the parent translation
14-
domain or the default domain) or a string which represents the exact translation
15-
domain to use.
7+
.. include:: /reference/forms/types/options/_choice_translation_domain_body.rst.inc

reference/forms/types/options/datetime_choice_translation_domain.rst.inc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,4 @@ choice_translation_domain
44
.. versionadded:: 2.8
55
The ``choice_translation_domain`` option was introduced in Symfony 2.8.
66

7-
**type**: ``string``, ``boolean`` or ``null``
8-
9-
This option determines if the choice values should be translated and in which
10-
translation domain.
11-
12-
The values of the ``choice_translation_domain`` option can be ``true`` (reuse the current
13-
translation domain), ``false`` (disable translation), ``null`` (uses the parent translation
14-
domain or the default domain) or a string which represents the exact translation
15-
domain to use.
7+
.. include:: /reference/forms/types/options/_choice_translation_domain_body.rst.inc

0 commit comments

Comments
 (0)
0