Missing translations from traits
This commit is contained in:
parent
7820f8d352
commit
0d8737ff16
@ -60,6 +60,9 @@ class TranslatorPathsPass extends AbstractRecursivePass
|
||||
foreach ($this->paths as $class => $_) {
|
||||
if (($r = $container->getReflectionClass($class)) && !$r->isInterface()) {
|
||||
$paths[] = $r->getFileName();
|
||||
foreach ($r->getTraits() as $trait) {
|
||||
$paths[] = $trait->getFileName();
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($paths) {
|
||||
|
Reference in New Issue
Block a user