Skip to content

Commit 1b8163e

Browse files
committed
minor #6548 merge choice_translation_domain files (xabbuh)
This PR was merged into the 3.0 branch. Discussion ---------- merge choice_translation_domain files Commits ------- ac8a4d4 merge choice_translation_domain files
2 parents b61bc12 + ac8a4d4 commit 1b8163e

File tree

7 files changed

+13
-18
lines changed

7 files changed

+13
-18
lines changed

reference/forms/types/birthday.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Inherited Options
6464

6565
These options inherit from the :doc:`DateType </reference/forms/types/date>`:
6666

67-
.. include:: /reference/forms/types/options/datetime_choice_translation_domain.rst.inc
67+
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
6868

6969
.. include:: /reference/forms/types/options/days.rst.inc
7070

reference/forms/types/date.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ values.
8585
Field Options
8686
-------------
8787

88-
.. include:: /reference/forms/types/options/datetime_choice_translation_domain.rst.inc
88+
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
8989

9090
.. include:: /reference/forms/types/options/days.rst.inc
9191

reference/forms/types/datetime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ the data can be a ``DateTime`` object, a string, a timestamp or an array.
5555
Field Options
5656
-------------
5757

58-
.. include:: /reference/forms/types/options/datetime_choice_translation_domain.rst.inc
58+
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
5959

6060
date_format
6161
~~~~~~~~~~~

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

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
choice_translation_domain
22
~~~~~~~~~~~~~~~~~~~~~~~~~
33

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

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

Lines changed: 0 additions & 4 deletions
This file was deleted.

reference/forms/types/time.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ values.
8282
Field Options
8383
-------------
8484

85-
.. include:: /reference/forms/types/options/datetime_choice_translation_domain.rst.inc
85+
.. include:: /reference/forms/types/options/choice_translation_domain.rst.inc
8686

8787
placeholder
8888
~~~~~~~~~~~

0 commit comments

Comments
 (0)