<?php

return [
    'users' => [
        'title' => 'Users',
        'subtitle' => 'People in your organization.',
        'create' => 'Create user',
        'invite' => 'Invite user',
        'assign_roles' => 'Roles',
        'manage_roles' => 'Manage',
        'password' => 'Password',
        'status' => 'Status',
        'edit_subtitle' => 'Manage identity, employee linkage, roles, and account access.',
        'reset_password' => 'Reset password',
        'deactivate' => 'Deactivate user',
        'activate' => 'Activate user',
        'columns' => [
            'name' => 'Name',
            'email' => 'Email',
            'employee' => 'Linked employee',
            'roles' => 'Roles',
        ],
        'placeholders' => [
            'employee' => 'Optional — link this login to an HR employee record',
        ],
        'empty' => 'No users yet.',
        'invite_title' => 'Invite a user',
        'invite_subtitle' => 'They will set a password from the invitation link.',
        'create_title' => 'Create a user',
        'create_subtitle' => 'Set credentials and roles immediately — no invitation link required.',
        'invite_link_hint' => 'Share this one-time link with the invitee (copy before leaving this page):',
        'accept_title' => 'Accept invitation',
        'accept_subtitle' => 'Choose a password for your account.',
        'password_confirm' => 'Confirm password',
    ],
    'roles' => [
        'title' => 'Roles',
        'subtitle' => 'Define which permissions each role has.',
        'permissions' => 'Permissions',
        'name' => 'Name',
        'description' => 'Description',
        'status' => 'Status',
        'active' => 'Active role',
        'assigned_users' => 'Assigned users',
        'create' => 'Create role',
        'create_title' => 'Create role',
        'create_subtitle' => 'Define the role and its permissions.',
        'empty' => 'No roles yet.',
        'edit_title' => 'Edit role',
        'edit_subtitle' => 'Update role details, status, and permissions.',
        'view_subtitle' => 'Role details and effective permission assignment.',
        'delete_confirm' => 'Soft delete this role?',
    ],
    'flash' => [
        'invited' => 'User invited.',
        'created' => 'User created.',
        'roles_updated' => 'Roles updated.',
        'role_permissions_updated' => 'Role permissions saved.',
        'role_created' => 'Role created.',
        'role_updated' => 'Role updated.',
        'role_deleted' => 'Role deleted.',
        'user_updated' => 'User updated.',
        'user_deactivated' => 'User deactivated.',
        'user_activated' => 'User activated.',
        'password_reset' => 'User password reset and active sessions revoked.',
        'password_set' => 'Password saved. You can sign in now.',
    ],
    'validation' => [
        'email_taken' => 'This email is already used in your organization.',
        'invite_invalid' => 'This invitation link is invalid or has expired.',
        'employee_invalid' => 'The selected employee is not available for your organization.',
        'employee_already_linked' => 'This employee is already linked to another user.',
        'role_assigned' => 'This role cannot be deleted while it is assigned to users.',
        'owner_role_protected' => 'The tenant owner role cannot be deleted.',
        'user_deactivate_protected' => 'You cannot deactivate your own account or the tenant owner.',
        'password_reset_protected' => 'Use the profile security flow for your own or the tenant owner password.',
    ],
];
