Skip to content

Commit 20c6f5a

Browse files
author
Vladyslav Riabchenko
committed
correct arrays short syntax
1 parent 70f36ad commit 20c6f5a

6 files changed

+12
-12
lines changed

reference/forms/types/button.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ as a key. This can be useful when you need to set a custom class for the button:
5757
label_translation_parameters
5858
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5959

60-
**type**: ``array`` **default**: ``array()``
60+
**type**: ``array`` **default**: ``[]``
6161

6262
Translated `label`_ can contain
6363
:ref:`placeholders <component-translation-placeholders>`.
@@ -85,7 +85,7 @@ you can specify placeholder value:
8585
),
8686
));
8787
88-
Note that `label_translation_parameters` of buttons are merged with those of its
88+
Note that ``label_translation_parameters`` of buttons are merged with those of its
8989
parent. In other words the parent's translation parameters are available for
9090
children's buttons but can be overriden:
9191

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
attr_translation_parameters
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
**type**: ``array`` **default**: ``array()``
4+
**type**: ``array`` **default**: ``[]``
55

66
Some translated `attr`_ (``title`` and ``placeholder``) can
77
contain :ref:`placeholders <component-translation-placeholders>`.
@@ -30,7 +30,7 @@ you can specify placeholder value:
3030
]
3131
));
3232

33-
Note that `attr_translation_parameters` of children fields are merged with those
33+
Note that ``attr_translation_parameters`` of children fields are merged with those
3434
of its parent. In other words the parent's translation parameters are available
3535
for children but can be overriden:
3636

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
help_translation_parameters
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
**type**: ``array`` **default**: ``array()``
4+
**type**: ``array`` **default**: ``[]``
55

66
Translated `help`_ can
77
contain :ref:`placeholders <component-translation-placeholders>`.
@@ -26,7 +26,7 @@ you can specify placeholder value:
2626
]
2727
));
2828

29-
Note that `help_translation_parameters` of children fields are merged with those
29+
Note that ``help_translation_parameters`` of children fields are merged with those
3030
of its parent. In other words the parent's translation parameters are available
3131
for children but can be overriden:
3232

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
label_translation_parameters
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
**type**: ``array`` **default**: ``array()``
4+
**type**: ``array`` **default**: ``[]``
55

66
Translated `label`_, can
77
contain :ref:`placeholders <component-translation-placeholders>`.
@@ -26,7 +26,7 @@ you can specify placeholder value:
2626
]
2727
));
2828

29-
Note that `label_translation_parameters` of children fields are merged with those
29+
Note that ``label_translation_parameters`` of children fields are merged with those
3030
of its parent. In other words the parent's translation parameters are available
3131
for children but can be overriden:
3232

reference/forms/types/reset.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ as a key. This can be useful when you need to set a custom class for the button:
5151
label_translation_parameters
5252
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5353

54-
**type**: ``array`` **default**: ``array()``
54+
**type**: ``array`` **default**: ``[]``
5555

5656
Translated `label`_ can contain
5757
:ref:`placeholders <component-translation-placeholders>`.
@@ -79,7 +79,7 @@ you can specify placeholder value:
7979
),
8080
));
8181
82-
Note that `label_translation_parameters` of resets are merged with those of its
82+
Note that ``label_translation_parameters`` of resets are merged with those of its
8383
parent. In other words the parent's translation parameters are available for
8484
children's resets but can be overriden:
8585

reference/forms/types/submit.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ as a key. This can be useful when you need to set a custom class for the button:
6464
label_translation_parameters
6565
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6666

67-
**type**: ``array`` **default**: ``array()``
67+
**type**: ``array`` **default**: ``[]``
6868

6969
Translated `label`_ can contain
7070
:ref:`placeholders <component-translation-placeholders>`.
@@ -92,7 +92,7 @@ you can specify placeholder value:
9292
),
9393
));
9494
95-
Note that `label_translation_parameters` of submits are merged with those of its
95+
Note that ``label_translation_parameters`` of submits are merged with those of its
9696
parent. In other words the parent's translation parameters are available for
9797
children's submits but can be overriden:
9898

0 commit comments

Comments
 (0)