Skip to content

Commit 94f0c93

Browse files
committed
[reference] fixed wrong class reference in form/types/locale.rst
1 parent 60d229d commit 94f0c93

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

reference/forms/types/locale.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ you should just use the ``choice`` type directly.
4141
+-------------+------------------------------------------------------------------------+
4242
| Parent type | :doc:`choice </reference/forms/types/choice>` |
4343
+-------------+------------------------------------------------------------------------+
44-
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LanguageType` |
44+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LocaleType` |
4545
+-------------+------------------------------------------------------------------------+
4646

4747
Overridden Options
@@ -53,9 +53,8 @@ choices
5353
**default**: :method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`
5454

5555
The choices option defaults to all locales returned by
56-
:method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`. It uses the
57-
default locale to specify the language.
58-
56+
:method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`.
57+
The default locale is used to translate the locale names.
5958

6059
Inherited options
6160
-----------------

0 commit comments

Comments
 (0)