From 2e76c29cc23a58453e299abf64e372ce1965c7db Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Thu, 20 Mar 2025 08:39:47 +0000 Subject: [PATCH] Update CheckTranslationsCommand.php --- packages/support/src/Commands/CheckTranslationsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/support/src/Commands/CheckTranslationsCommand.php b/packages/support/src/Commands/CheckTranslationsCommand.php index a640822c5c..a744c49cdb 100644 --- a/packages/support/src/Commands/CheckTranslationsCommand.php +++ b/packages/support/src/Commands/CheckTranslationsCommand.php @@ -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"); } })