Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0737399

Browse files
committed
bug#49247 [Translator] Replace deprecated/removed way to configure enabled_locales (chr-hertel)
This PR was merged into the 6.2 branch.Discussion----------[Translator] Replace deprecated/removed way to configure enabled_locales| Q | A| ------------- | ---| Branch? | 6.2| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | no| License | MIT| Doc PR | n/aThis error message was lying to me. That option was removed/replaced with 6.0Commits-------19ee153 Replace deprecated/removed way to configure enabled_locales
2 parentsd88d5b3 +19ee153 commit0737399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Translation/Command/TranslationPushCommand.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
115115
$provider =$this->providers->get($input->getArgument('provider'));
116116

117117
if (!$this->enabledLocales) {
118-
thrownewInvalidArgumentException(sprintf('You must define "framework.translator.enabled_locales" or "framework.translator.providers.%s.locales" config key in order to work with translation providers.',parse_url($provider, \PHP_URL_SCHEME)));
118+
thrownewInvalidArgumentException(sprintf('You must define "framework.enabled_locales" or "framework.translator.providers.%s.locales" config key in order to work with translation providers.',parse_url($provider, \PHP_URL_SCHEME)));
119119
}
120120

121121
$io =newSymfonyStyle($input,$output);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp