We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfee14c commit f3d64eaCopy full SHA for f3d64ea
src/Actions/RemoveTeamMember.php
@@ -55,7 +55,7 @@ protected function ensureUserDoesNotOwnTeam($teamMember, $team)
55
{
56
if ($teamMember->id === $team->owner->id) {
57
throw ValidationException::withMessages([
58
- 'team' => ['You may not leave a team that you created.'],
+ 'team' => [__('You may not leave a team that you created.')],
59
])->errorBag('removeTeamMember');
60
}
61
0 commit comments