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

Commitf89ef42

Browse files
committed
bug#28835 [FrameworkBundle] Setting missing default paths under BC layer (yceruto)
This PR was merged into the 3.4 branch.Discussion----------[FrameworkBundle] Setting missing default paths under BC layer| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | -| License | MIT| Doc PR | -Commits-------18ac673 Setting missing default paths under BC layer
2 parentsec32d43 +18ac673 commitf89ef42

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
144144
$this->translator =$this->getContainer()->get('translator');
145145
$this->reader =$this->getContainer()->get('translation.reader');
146146
$this->extractor =$this->getContainer()->get('translation.extractor');
147+
$this->defaultTransPath =$this->getContainer()->getParameter('translator.default_path');
148+
$this->defaultViewsPath =$this->getContainer()->getParameter('twig.default_path');
147149
}
148150

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

‎src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
138138
$this->reader =$this->getContainer()->get('translation.reader');
139139
$this->extractor =$this->getContainer()->get('translation.extractor');
140140
$this->defaultLocale =$this->getContainer()->getParameter('kernel.default_locale');
141+
$this->defaultTransPath =$this->getContainer()->getParameter('translator.default_path');
142+
$this->defaultViewsPath =$this->getContainer()->getParameter('twig.default_path');
141143
}
142144

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp