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 83a056e

Browse filesBrowse files
committed
[FrameworkBundle] Fix registration of the bundle path to translation
Fixup for 31d7a09bf5c423ad2003d6863d7372e49a195af1
1 parent f06afb9 commit 83a056e
Copy full SHA for 83a056e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎DependencyInjection/FrameworkExtension.php

Copy file name to clipboardExpand all lines: DependencyInjection/FrameworkExtension.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
13491349
$defaultDir = $container->getParameterBag()->resolveValue($config['default_path']);
13501350
foreach ($container->getParameter('kernel.bundles_metadata') as $name => $bundle) {
13511351
if ($container->fileExists($dir = $bundle['path'].'/Resources/translations') || $container->fileExists($dir = $bundle['path'].'/translations')) {
1352-
$dirs[] = $dir;
1352+
$dirs[] = $transPaths[] = $dir;
13531353
} else {
13541354
$nonExistingDirs[] = $dir;
13551355
}

0 commit comments

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