<?php

return [
    'title' => 'Admin',
    'dashboard' => 'Admin Dashboard',
    'dashboard_subtitle' => 'Overview of modules, plans, tenants and subscriptions.',
    'active_subscriptions' => 'Active subscriptions',

    'integrations_health' => [
        'title' => 'Integrations health',
        'subtitle' => 'Webhooks, delivery reliability, dead letters, and API security signals.',
        'webhooks' => 'Webhooks',
        'window_24h' => 'Rolling 24h window (unless noted).',
        'dead_letters' => 'Dead-letter deliveries',
        'retry_storms' => 'High-retry deliveries (1h)',
        'failing_streams' => 'Distinct failing webhook endpoints',
        'slow_deliveries' => 'Slow deliveries (≥ 5s)',
        'api_security' => 'API security & abuse',
        'rate_limit_audit_429' => '429 responses (API audit)',
        'dead_letter_table' => 'Recent dead-letter deliveries',
        'col_tenant' => 'Tenant',
        'col_webhook' => 'Webhook',
        'col_attempts' => 'Attempts',
        'col_dead_at' => 'Dead-lettered at',
        'none' => 'None',
    ],

    'system_health' => [
        'title' => 'System health',
        'subtitle' => 'Operational signals: failed exports, stuck jobs, and payroll processing delays.',
        'failed_exports' => 'Failed exports',
        'stuck_exports' => 'Stuck exports (processing)',
        'stuck_payroll' => 'Stale payroll runs (processing)',
        'failed_jobs_payroll' => 'Failed payroll snapshot jobs',
        'failed_jobs_biometric' => 'Failed biometric processing jobs',
        'failed_jobs_attendance' => 'Failed attendance detection jobs',
        'col_tenant' => 'Tenant',
        'col_status' => 'Status',
        'col_failed_at' => 'Failed at',
        'col_started_at' => 'Started at',
        'col_updated_at' => 'Updated at',
        'none' => 'None',
    ],
];
