Skip to content

Commit

Permalink
Dont use ngettext
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmlozano committed Jan 13, 2022
1 parent cedefe3 commit 2066ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Commands/Servers/RebootCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2066ec0

Please sign in to comment.