Skip to content

Commit 3d5ecb3

Browse files
committed
Merge pull request symfony#3253 from sstok/path-3
[reference] fixed wrong class reference in form/types/locale.rst
2 parents fc30e62 + 94f0c93 commit 3d5ecb3

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
@@ -42,7 +42,7 @@ you should just use the ``choice`` type directly.
4242
+-------------+------------------------------------------------------------------------+
4343
| Parent type | :doc:`choice </reference/forms/types/choice>` |
4444
+-------------+------------------------------------------------------------------------+
45-
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LanguageType` |
45+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\LocaleType` |
4646
+-------------+------------------------------------------------------------------------+
4747

4848
Overridden Options
@@ -54,9 +54,8 @@ choices
5454
**default**: :method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`
5555

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

6160
Inherited options
6261
-----------------

0 commit comments

Comments
 (0)