Skip to content

Commit f3d64ea

Browse files
authored
Make error message translatable (#39)
1 parent cfee14c commit f3d64ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Actions/RemoveTeamMember.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function ensureUserDoesNotOwnTeam($teamMember, $team)
5555
{
5656
if ($teamMember->id === $team->owner->id) {
5757
throw ValidationException::withMessages([
58-
'team' => ['You may not leave a team that you created.'],
58+
'team' => [__('You may not leave a team that you created.')],
5959
])->errorBag('removeTeamMember');
6060
}
6161
}

0 commit comments

Comments
 (0)