8000 Fix TranslationTrait (issue 44185) · symfony/symfony@9250a7a · GitHub
[go: up one dir, main page]

Skip to content

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 9250a7a

Browse files
tomasz-kusyTomasz Kusy
authored and
Tomasz Kusy
committed
Fix TranslationTrait (issue 44185)
#44185
1 parent 3fe93d6 commit 9250a7a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Translation/Command/TranslationTrait.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ private function readLocalTranslations(array $locales, array $domains, array $tr
3232

3333
if ($domains) {
3434
foreach ($domains as $domain) {
35-
$catalogue = $this->filterCatalogue($catalogue, $domain);
36-
$bag->addCatalogue($catalogue);
35+
$bag->addCatalogue($this->filterCatalogue($catalogue, $domain));
3736
}
3837
} else {
3938
$bag->addCatalogue($catalogue);

0 commit comments

Comments
 (0)
0