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

Appearance settings

Commit f89ef42

Browse filesBrowse 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 parents ec32d43 + 18ac673 commit f89ef42
Copy full SHA for f89ef42

File tree

Expand file treeCollapse file tree

2 files changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
+2Lines 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 = new SymfonyStyle($input, $output);

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
+2Lines 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 = new SymfonyStyle($input, $output);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.