Skip to content

Commit 5d4b7af

Browse files
committed
Merge branch '3.0'
2 parents 6ee4a54 + bd7b449 commit 5d4b7af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,8 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
721721
->in($dirs)
722722
;
723723

724-
$locales = array();
725724
foreach ($finder as $file) {
726-
list($domain, $locale, $format) = explode('.', $file->getBasename(), 3);
725+
list(, $locale) = explode('.', $file->getBasename(), 3);
727726
if (!isset($files[$locale])) {
728727
$files[$locale] = array();
729728
}

0 commit comments

Comments
 (0)