Skip to content

Commit 26dc0fe

Browse files
authored
Make terms translatable (#300)
1 parent 0c1b212 commit 26dc0fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stubs/app/Providers/JetstreamWithTeamsServiceProvider.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ protected function configurePermissions()
4747
{
4848
Jetstream::defaultApiTokenPermissions(['read']);
4949

50-
Jetstream::role('admin', 'Administrator', [
50+
Jetstream::role('admin', __('Administrator'), [
5151
'create',
5252
'read',
5353
'update',
5454
'delete',
55-
])->description('Administrator users can perform any action.');
55+
])->description(__('Administrator users can perform any action.'));
5656

57-
Jetstream::role('editor', 'Editor', [
57+
Jetstream::role('editor', __('Editor'), [
5858
'read',
5959
'create',
6060
'update',
61-
])->description('Editor users have the ability to read, create, and update.');
61+
])->description(__('Editor users have the ability to read, create, and update.'));
6262
}
6363
}

0 commit comments

Comments
 (0)