Update CheckTranslationsCommand.php

This commit is contained in:
Dan Harrin
2025-03-20 08:39:47 +00:00
parent 22a453808f
commit 2e76c29cc2
@@ -126,7 +126,7 @@ class CheckTranslationsCommand extends Command implements PromptsForMissingInput
warning("[!] Package filament/{$package} has {$missingKeysCount} missing translation " . Str::plural('key', $missingKeysCount) . " and {$removedKeysCount} removed translation " . Str::plural('key', $removedKeysCount) . " for {$locale}.\n");
} elseif ($missingKeysCount > 0) {
warning("[!] Package filament/{$package} has {$missingKeysCount} missing translation " . Str::plural('key', $missingKeysCount) . " for {$locale}.\n");
} elseif ($removedKeysCount > 0) {
} else {
warning("[!] Package filament/{$package} has {$removedKeysCount} removed translation " . Str::plural('key', $removedKeysCount) . " for {$locale}.\n");
}
})