Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 92998d8

Browse files
merorafaelwouterj
authored andcommitted
translation_domain doc fix
"translation_domain" documentation fixed.
1 parent 2fa2386 commit 92998d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/entity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ choice_translation_domain
186186

187187
**type**: ``boolean`` | ``null`` | ``string``
188188

189-
If specified ``null`` value, corresponds to parents translation_domain or default domain (messages). If the value is ``string``, corresponds to explicit domain(e.g. ``AcmeStoreBundle``). If the value is ``true``, reuse current ``translation_domain`` and ``false`` to disabled.
189+
If specified ``null`` value, corresponds to parents ``translation_domain`` or default domain (messages). If the value is ``string``, corresponds to explicit domain(e.g. ``AcmeStoreBundle``). If the value is ``true``, reuse current ``translation_domain`` and ``false`` to disabled.
190190

191191
translation_domain
192192
~~~~~~~~~~~~~~~~~~
@@ -196,7 +196,7 @@ translation_domain
196196

197197
**type**: ``string``
198198

199-
If specified, use translations of informed domain(e.g. ``AcmeStoreBundle`` to ``Acme\StoreBundle\Resources\translation`` files).
199+
When ``choice_translation_domain`` is ``true`` or ``null``, use translations of informed domain(e.g. ``AcmeStoreBundle`` to ``Acme\StoreBundle\Resources\translation`` files).
200200

201201

202202
Overridden Options

0 commit comments

Comments
 (0)