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

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

File tree

1 file changed

+1
-2
lines changed
Filter options

1 file changed

+1
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/Command/TranslationTrait.php
+1-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.