8000 Changed names of Intl classes in form types docs by jzawadzki · Pull Request #12720 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Changed names of Intl classes in form types docs #12720

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference/forms/types/country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()``
**default**: ``Symfony\Component\Intl\Countries::getNames()``

The country type defaults the ``choices`` option to the whole list of countries.
The locale is used to translate the countries names.
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/currency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()``
**default**: ``Symfony\Component\Intl\Currencies::getNames()``

The choices option defaults to all currencies.

Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``.
**default**: ``Symfony\Component\Intl\Languages::getNames()``.

The choices option defaults to all languages.
The default locale is used to translate the languages names.
Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/locale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Overridden Options
choices
~~~~~~~

**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()``
**default**: ``Symfony\Component\Intl\Locales::getNames()``

The choices option defaults to all locales. It uses the default locale to
specify the language.
Expand Down
0