<?php

return [
    'title' => 'Leave requests',
    'subtitle' => 'Submit and review time off.',
    'create_title' => 'New leave request',
    'empty' => 'No leave requests yet.',
    'flash' => [
        'submitted' => 'Leave request submitted.',
        'manager_approved' => 'Leave request approved by manager.',
        'hr_approved' => 'Leave request approved by HR.',
        'rejected' => 'Leave request rejected.',
        'cancelled' => 'Leave request cancelled.',
    ],
    'actions' => [
        'new' => 'New request',
        'submit' => 'Submit request',
        'approve_manager' => 'Manager approve',
        'approve_hr' => 'HR approve',
        'reject' => 'Reject',
        'cancel' => 'Cancel',
        'back' => 'Back to list',
    ],
    'fields' => [
        'employee' => 'Employee',
        'leave_type' => 'Leave type',
        'start_date' => 'Start date',
        'end_date' => 'End date',
        'is_half_day' => 'Half day',
        'reason' => 'Reason',
        'attachment' => 'Attachment',
        'total_days' => 'Days',
        'status' => 'Status',
    ],
    'errors' => [
        'insufficient_balance' => 'Insufficient leave balance. Available: :available days, requested: :requested.',
        'invalid_type' => 'Selected leave type is invalid.',
        'invalid_employee' => 'Selected employee is invalid.',
        'half_day_not_allowed' => 'Half-day leave is not allowed for this leave type.',
        'attachment_required' => 'An attachment is required for this leave type.',
    ],
    'types' => [
        'title' => 'Leave types',
        'subtitle' => 'Configure leave policies and annual limits.',
        'singular' => 'Leave type',
        'create_title' => 'New leave type',
        'edit_title' => 'Edit leave type',
        'empty' => 'No leave types yet.',
        'flash' => [
            'created' => 'Leave type created.',
            'updated' => 'Leave type updated.',
            'deactivated' => 'Leave type deactivated.',
        ],
        'actions' => [
            'add' => 'Add leave type',
            'save' => 'Save leave type',
        ],
        'fields' => [
            'name' => 'Name',
            'annual_limit' => 'Annual limit (days)',
            'paid' => 'Paid',
            'requires_approval' => 'Requires approval',
            'allow_half_day' => 'Allow half day',
            'allow_negative_balance' => 'Allow negative balance',
            'requires_attachment' => 'Requires attachment',
        ],
        'status' => [
            'active' => 'Active',
            'inactive' => 'Inactive',
        ],
    ],
    'balances' => [
        'title' => 'Leave balances',
        'subtitle' => 'View entitled, used, and remaining leave by employee and year.',
        'empty' => 'No leave balances found for this filter.',
        'actions' => [
            'filter' => 'Filter',
        ],
        'fields' => [
            'year' => 'Year',
            'entitled' => 'Entitled',
            'used' => 'Used',
            'remaining' => 'Remaining',
        ],
    ],
    'status' => [
        'pending' => 'Pending',
        'manager_approved' => 'Manager approved',
        'hr_approved' => 'HR approved',
        'rejected' => 'Rejected',
        'cancelled' => 'Cancelled',
    ],
    'attendance_note' => 'Approved leave #:id (:type).',
    'activity' => [
        'submitted' => 'Leave request #:id submitted.',
        'manager_approved' => 'Leave request #:id approved by manager.',
        'hr_approved' => 'Leave request #:id approved by HR.',
        'rejected' => 'Leave request #:id rejected.',
        'cancelled' => 'Leave request #:id cancelled.',
    ],
    'notifications' => [
        'submitted_title' => 'New leave request',
        'submitted_body' => 'Leave request #:id needs your review.',
        'approved_title' => 'Leave approved',
        'approved_body' => 'Your leave request #:id was approved.',
        'rejected_title' => 'Leave rejected',
        'rejected_body' => 'Your leave request #:id was rejected.',
    ],
];
