<?php

return [
    'title' => 'Attendance',
    'subtitle' => 'Daily attendance records and manual adjustments.',
    'devices_title' => 'Biometric devices',
    'devices_subtitle' => 'Register devices for raw log import and queued processing.',
    'empty' => 'No attendance records in this date range.',
    'devices_empty' => 'No devices registered yet.',
    'flash' => [
        'saved' => 'Attendance saved.',
        'checkout_updated' => 'Check-out time updated.',
        'device_created' => 'Device registered.',
    ],
    'notes' => [
        'auto_absent' => 'Auto-marked absent (no punch on working day).',
    ],
    'activity' => [
        'self_check_in' => 'Self-service check-in for :date',
        'self_check_out' => 'Self-service check-out for :date',
        'manual_upsert' => 'Manual attendance saved for :date',
        'manual_checkout' => 'Manual check-out updated for :date',
        'auto_absent' => 'Auto-absent for :employee on :date',
    ],
    'monthly' => [
        'title' => 'Monthly attendance',
        'subtitle' => 'Employee month summary with expected working days.',
        'select_employee' => 'Select an employee and month to view the summary.',
        'fields' => [
            'month' => 'Month',
        ],
        'metrics' => [
            'present' => 'Present days',
            'absent' => 'Absent days',
            'late' => 'Late days',
            'leave' => 'Leave days',
            'overtime' => 'Overtime hours',
            'expected' => 'Expected working days',
            'non_working' => 'Non-working days',
            'missing_checkouts' => 'Missing check-outs',
        ],
    ],
    'validation' => [
        'checkout_register_denied' => 'You do not have permission to register check-out.',
        'check_out_after_check_in' => 'Check-out must be after check-in.',
    ],
    'actions' => [
        'dashboard' => 'Dashboard',
        'devices' => 'Devices',
        'save' => 'Save attendance',
        'update_checkout' => 'Update check-out',
    ],
    'manual' => [
        'heading' => 'Manual entry',
        'hint' => 'Creates or updates the row for the selected employee and date.',
    ],
    'self' => [
        'today_title' => "Today's attendance",
        'check_in' => 'Check in now',
        'check_out' => 'Check out now',
        'not_checked_in' => 'You have not checked in today.',
        'working_summary' => 'Checked in at :time. Remember to check out when you leave.',
        'completed_summary' => 'Work period recorded from :in to :out.',
        'checked_in' => 'Your check-in has been recorded.',
        'checked_out' => 'Your check-out has been recorded.',
        'already_checked_in' => 'You are already checked in today.',
        'already_checked_out' => 'You have already checked out today.',
        'day_completed' => "Today's attendance is already complete.",
        'check_in_first' => 'Check in before trying to check out.',
        'missing_checkout_prompt' => 'You did not check out on :date. Tell us when you left.',
        'provide_checkout' => 'Provide check-out time',
        'reminder_title' => 'Missing check-out',
        'reminder_body' => 'Your attendance on :date has no check-out time. Submit the time you left.',
    ],
    'fields' => [
        'employee' => 'Employee',
        'date' => 'Date',
        'check_in' => 'Check in',
        'check_out' => 'Check out',
        'status' => 'Status',
        'source' => 'Source',
        'late' => 'Late',
        'overtime' => 'Overtime',
        'missing_checkout' => 'Missing checkout',
        'notes' => 'Notes',
        'device_name' => 'Device name',
        'brand' => 'Brand',
        'ip' => 'IP address',
        'port' => 'Port',
        'api_type' => 'API type',
    ],
    'ingest_help' => 'POST JSON to :url with body { "punches": [ { "employee_fingerprint_id": "…", "punch_time": "2026-01-15 09:00:00" } ] } (shape may vary by api_type; normalizers map to this schema).',
    'status' => [
        'present' => 'Present',
        'absent' => 'Absent',
        'late' => 'Late',
        'half_day' => 'Half day',
        'leave' => 'Leave',
        'holiday' => 'Holiday',
    ],
    'source' => [
        'manual' => 'Manual',
        'biometric' => 'Biometric',
        'api' => 'API',
        'import' => 'Import',
        'leave' => 'Leave',
        'self_service' => 'Self service',
        'system' => 'System',
    ],
    'api_types' => [
        'generic' => 'Generic',
        'zkteco' => 'ZKTeco',
        'suprema' => 'Suprema',
        'rest_webhook' => 'REST / webhook',
    ],
];
