Skip to content

Commit

Permalink
Merge pull request #7 from TheForwardDev/2.x
Browse files Browse the repository at this point in the history
fix: trans abilities
  • Loading branch information
lee-to authored Feb 4, 2025
2 parents 0ac7479 + e4ff8d2 commit 6b9bcf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function getForm(): FormBuilder
}

$checkboxes[] = Switcher::make(
__($ability->value),
__('moonshine-permissions::permissions.' . $ability->value),
"permissions." . $resource::class . ".$ability->value"
)
->customAttributes(['class' => 'permission_switcher ' . $class])
Expand Down

0 comments on commit 6b9bcf8

Please sign in to comment.