diff --git a/src/Actions/RemoveTeamMember.php b/src/Actions/RemoveTeamMember.php index 1e5b4e663..ddb8a40a5 100644 --- a/src/Actions/RemoveTeamMember.php +++ b/src/Actions/RemoveTeamMember.php @@ -55,7 +55,7 @@ protected function ensureUserDoesNotOwnTeam($teamMember, $team) { if ($teamMember->id === $team->owner->id) { throw ValidationException::withMessages([ - 'team' => ['You may not leave a team that you created.'], + 'team' => [__('You may not leave a team that you created.')], ])->errorBag('removeTeamMember'); } }