Skip to content

Commit bd0fa58

Browse files
Merge pull request #347 from Laravel-Lang/16.x
Aliases are ignored in certain commands
2 parents 5125dd0 + e3c4931 commit bd0fa58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Processors/Processor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*
99
* @author Andrey Helldar <helldar@dragon-code.pro>
10-
* @copyright 2023 Laravel Lang Team
10+
* @copyright 2024 Laravel Lang Team
1111
* @license MIT
1212
*
1313
* @see https://laravel-lang.com
@@ -113,7 +113,7 @@ protected function collectKeys(string $directory, array $files): void
113113
protected function collectLocalizations(string $directory): void
114114
{
115115
foreach ($this->locales as $locale) {
116-
$locale = $locale?->value ?? $locale;
116+
$locale = $this->fromAlias($locale?->value ?? $locale);
117117

118118
$locale_alias = $this->toAlias($locale);
119119

0 commit comments

Comments
 (0)