Skip to content

Commit 48e7ded

Browse files
committed
[Intl] Making changes related to the new Intl component and form type details that use it
1 parent 230b1f9 commit 48e7ded

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

reference/forms/types/country.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ Overridden Options
4646
choices
4747
~~~~~~~
4848

49-
**default**: :method:`Symfony\\Component\\Locale\\Locale::getDisplayCountries`
49+
**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()``
5050

51-
The country type defaults the ``choices`` option to the all locales which are
52-
returned by :method:`Symfony\\Component\\Locale\\Locale::getDisplayCountries`.
51+
The country type defaults the ``choices`` option to the all locales.
5352
It uses the default locale to determine the language.
5453

5554
Inherited options

reference/forms/types/language.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ Overridden Options
4747
choices
4848
~~~~~~~
4949

50-
**default**: :method:`Symfony\\Component\\Locale\\Locale::getDisplayLanguages`
50+
**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``.
5151

52-
The choices option defaults to all languages returned by
53-
:method:`Symfony\\Component\\Locale\\Locale::getDisplayLanguages`. It uses the
54-
default locale to specify the language.
52+
The choices option defaults to all languages. It uses the default locale to
53+
specify the language.
5554

5655
Inherited Options
5756
-----------------

reference/forms/types/locale.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ Overridden Options
4848
choices
4949
~~~~~~~
5050

51-
**default**: :method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`
51+
**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()``
5252

53-
The choices option defaults to all locales returned by
54-
:method:`Symfony\\Component\\Locale\\Locale::getDisplayLocales`. It uses the
55-
default locale to specify the language.
53+
The choices option defaults to all locales. It uses the default locale to
54+
specify the language.
5655

5756

5857
Inherited options

0 commit comments

Comments
 (0)