Skip to content

Commit 191498e

Browse files
Fix locale logged when adding new locale
The command to add a new locale has params `$locale` and `$source`, the `info()` log command used to say that the `$source` was added, when actually the `$locale` was added.
1 parent 81edbc9 commit 191498e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/AddLocaleCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function handle(): int
4848
$translations->map(fn () => null)
4949
);
5050

51-
info("{$source} added with {$count} keys.");
51+
info("{$locale} added with {$count} keys.");
5252

5353
if ($translate) {
5454
$translated = spin(function () use ($translator, $source, $locale, $translations) {

0 commit comments

Comments
 (0)