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 0d8737f

Browse filesBrowse files
insekticidfabpot
authored andcommitted
Missing translations from traits
1 parent 7820f8d commit 0d8737f
Copy full SHA for 0d8737f

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎src/Symfony/Component/Translation/DependencyInjection/TranslatorPathsPass.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/DependencyInjection/TranslatorPathsPass.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ public function process(ContainerBuilder $container)
6060
foreach ($this->paths as $class => $_) {
6161
if (($r = $container->getReflectionClass($class)) && !$r->isInterface()) {
6262
$paths[] = $r->getFileName();
63+
foreach ($r->getTraits() as $trait) {
64+
$paths[] = $trait->getFileName();
65+
}
6366
}
6467
}
6568
if ($paths) {

0 commit comments

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