From 2066ec01cf6b3dd1ed678dcc15ac936328bba61a Mon Sep 17 00:00:00 2001 From: realdanielmlozano Date: Thu, 13 Jan 2022 11:19:15 -0600 Subject: [PATCH] Dont use ngettext --- app/Commands/Servers/RebootCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Commands/Servers/RebootCommand.php b/app/Commands/Servers/RebootCommand.php index ba0d9ea..dd44f27 100644 --- a/app/Commands/Servers/RebootCommand.php +++ b/app/Commands/Servers/RebootCommand.php @@ -68,7 +68,7 @@ protected function rebootServers(array $servers): void return; } - $this->successfulStep(ngettext('Server', 'Servers', count($events)) . ' queued for reboot.'); + $this->successfulStep((count($events) === 1 ? 'Server' : 'Servers') . ' queued for reboot.'); $this->stepTable([ 'Event ID',