Skip to content

Commit

Permalink
Translated Tream Roles
Browse files Browse the repository at this point in the history
  • Loading branch information
kreaweb.be committed Jun 8, 2024
1 parent ec40d4b commit ebbfede
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 2 deletions.
15 changes: 15 additions & 0 deletions lang/de/jetstream.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

return [
'role_administrator_name' => 'Administrator 2',
'role_administrator_description' => 'Administratoren können beliebige Aktionen ausführen und die Anwendung verwalten.',

'role_manager_name' => 'Manager',
'role_manager_description' => 'Manager können jede beliebige Aktion an Personen durchführen.',

'role_editor_name' => 'Redakteur',
'role_editor_description' => 'Redakteure haben die Möglichkeit, Personen zu erstellen, zu lesen und zu aktualisieren.',

'role_member_name' => 'Mitglied',
'role_member_description' => 'Mitglieder haben die Fähigkeit, Personen zu lesen.',
];
15 changes: 15 additions & 0 deletions lang/en/jetstream.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

return [
'role_administrator_name' => 'Administrator 2',
'role_administrator_description' => 'Administrators can perform any action and manage the application.',

'role_manager_name' => 'Manager',
'role_manager_description' => 'Managers can perform any action on people.',

'role_editor_name' => 'Editor',
'role_editor_description' => 'Editors have the ability to create, read and update people.',

'role_member_name' => 'Member',
'role_member_description' => 'Members have the ability to read people.',
];
15 changes: 15 additions & 0 deletions lang/nl/jetstream.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

return [
'role_administrator_name' => 'Administrator',
'role_administrator_description' => 'Beheerders kunnen elke actie uitvoeren en de applicatie beheren.',

'role_manager_name' => 'Manager',
'role_manager_description' => 'Managers kunnen elke actie op personen uitvoeren',

'role_editor_name' => 'Redacteur',
'role_editor_description' => 'Redacteuren hebben de mogelijkheid om personen aan te maken, te lezen en bij te werken.',

'role_member_name' => 'Lid',
'role_member_description' => 'Leden hebben het vermogen om personen te lezen.',
];
4 changes: 2 additions & 2 deletions resources/views/teams/team-member-manager.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class="relative px-4 py-3 inline-flex w-full rounded focus:z-10 focus:outline-no
{{-- role name --}}
<div class="flex items-center">
<div class="text-sm text-gray-600 {{ $addTeamMemberForm['role'] == $role->key ? 'font-semibold' : '' }}">
<b>{{ $role->name }}</b>
<b>{{ __('jetstream.role_' . strtolower($role->name) . '_name') }}</b>
</div>

@if ($addTeamMemberForm['role'] == $role->key)
Expand All @@ -57,7 +57,7 @@ class="relative px-4 py-3 inline-flex w-full rounded focus:z-10 focus:outline-no

{{-- role description --}}
<div class="mt-2 text-xs text-gray-600 text-start">
{{ $role->description }}
{{ __('jetstream.role_' . strtolower($role->name) . '_description') }}
</div>
</div>
</button>
Expand Down

0 comments on commit ebbfede

Please sign in to comment.