<?php

return [
    'title' => 'Activity logs',
    'subtitle' => 'Audit trail across tenants and modules.',
    'empty' => 'No activity recorded yet.',
    'filters' => [
        'tenant' => 'Tenant',
        'module' => 'Module',
        'action' => 'Action',
        'all' => 'All',
        'apply' => 'Apply filters',
        'clear' => 'Clear',
    ],
    'columns' => [
        'created_at' => 'When',
        'tenant' => 'Tenant',
        'user' => 'User',
        'module' => 'Module',
        'action' => 'Action',
        'entity' => 'Entity',
        'description' => 'Description',
    ],
    'actions' => [
        'department_created' => 'Department created: :name',
        'department_updated' => 'Department updated: :name',
        'department_deleted' => 'Department deleted: :name',
        'position_created' => 'Position created: :title',
        'position_updated' => 'Position updated: :title',
        'position_deactivated' => 'Position deactivated: :title',
        'employee_created' => 'Employee created: :name',
        'employee_updated' => 'Employee updated: :name',
        'employee_deactivated' => 'Employee deactivated: :name',
        'employee_emergency_contact_created' => 'Emergency contact added for :name (:contact)',
        'employee_emergency_contact_updated' => 'Emergency contact updated for :name (:contact)',
        'employee_emergency_contact_deleted' => 'Emergency contact removed for :name (:contact)',
        'employee_skill_created' => 'Skill added for :name (:skill)',
        'employee_skill_updated' => 'Skill updated for :name (:skill)',
        'employee_skill_deleted' => 'Skill removed for :name (:skill)',
        'employee_asset_assigned' => 'Asset assigned to :name (:asset)',
        'employee_asset_updated' => 'Asset assignment updated for :name (:asset)',
        'employee_asset_removed' => 'Asset assignment removed for :name (:asset)',
        'shift_created' => 'Shift created: :name',
        'shift_updated' => 'Shift updated: :name',
        'shift_deactivated' => 'Shift deactivated: :name',
        'shift_reactivated' => 'Shift reactivated: :name',
        'shift_assigned' => 'Shift assigned: :employee → :shift',
        'shift_assignment_ended' => 'Shift assignment ended: :employee → :shift',
        'role_created' => 'Role created: :name',
        'role_updated' => 'Role updated: :name',
        'role_deleted' => 'Role deleted: :name',
        'user_created' => 'User created: :name',
        'user_invited' => 'User invited: :name',
        'user_updated' => 'User updated: :name',
        'user_deactivated' => 'User deactivated: :name',
        'user_activated' => 'User activated: :name',
        'user_password_reset' => 'User password reset: :name',
        'user_employee_linked' => 'Employee linked to user: :name',
        'user_employee_unlinked' => 'Employee unlinked from user: :name',
        'overtime_submitted' => 'Overtime request #:id submitted.',
        'overtime_approved' => 'Overtime request #:id approved.',
        'overtime_rejected' => 'Overtime request #:id rejected.',
        'overtime_cancelled' => 'Overtime request #:id cancelled.',
    ],
    'inventory' => [
        'entity_created' => 'Inventory catalog :label created (:name).',
        'entity_updated' => 'Inventory catalog :label updated (:name).',
        'entity_deleted' => 'Inventory catalog :label deleted (:name).',
    ],
];
