<?php

return [
    'title' => 'Hosts',
    'subtitle' => 'Proxmox hosts and capacity.',
    'add' => 'Add host',
    'empty' => 'No hosts yet. Add your first server.',
    'no_matches' => 'No hosts match these filters.',
    'search_placeholder' => 'Search by name or IP …',
    'all_datacenters' => 'All datacenters',
    'all_statuses' => 'All statuses',
    'clear' => 'Clear',
    'count' => ':shown of :total',
    'col' => [
        'host' => 'Host',
        'datacenter' => 'DC',
        'health' => 'Health',
        'vpn' => 'VPN',
        'instances' => 'Instances',
        'capacity' => 'Capacity',
        'status' => 'Status',
    ],
    'health' => [
        'online' => 'Online',
        'stale' => 'Stale',
        'offline' => 'Offline',
    ],
    'vpn' => [
        'not_configured' => 'Not configured',
        'connected' => 'Connected',
        'silent' => 'Silent',
        'silent_since' => 'Silent · :time',
        'unknown' => 'Unknown',
    ],

    'create_title' => 'Add host',
    'create_sub' => 'Onboard a fresh server (Debian, root only) as a Proxmox host automatically.',
    'back' => 'Back to hosts',
    'cancel' => 'Cancel',
    'save' => 'Start onboarding',

    'field' => [
        'name' => 'Name',
        'name_hint' => 'e.g. pve-fsn-4',
        'datacenter' => 'Datacenter',
        'public_ip' => 'Public IP',
        'root_password' => 'Root password (one-time)',
        'root_password_hint' => 'Used for the first login only. Discarded after the SSH key is deployed — never stored permanently.',
    ],

    'datacenter' => [
        'fsn' => 'Falkenstein',
        'hel' => 'Helsinki',
    ],

    'capacity' => 'Capacity',
    'free' => 'free',
    'unknown' => '—',
    'meta' => [
        'cores' => 'Cores',
        'ram' => 'RAM',
        'version' => 'Version',
        'wg_ip' => 'Mgmt IP',
        'datacenter' => 'DC',
    ],

    'status' => [
        'pending' => 'Pending',
        'onboarding' => 'Onboarding',
        'active' => 'Active',
        'error' => 'Error',
        'disabled' => 'Disabled',
    ],

    'detail' => [
        'health' => 'Health',
        'storage' => 'Storage',
        'compute' => 'Compute',
        'node' => 'Node',
        'instances' => 'Instances',
        'hosted' => 'Hosted instances',
        'no_instances' => 'No instances running on this host yet.',
        'last_seen' => 'Last seen :time',
        'never_seen' => 'Never seen',
        'committed' => ':gb GB committed',
        'reserve' => ':pct % reserve',
        'reserve_label' => 'Reserve',
        'reserve_save' => 'Save',
        'reserve_saved' => 'Reserve updated.',
        'drain' => 'Maintenance',
        'activate' => 'Activate',
    ],

    'istatus' => [
        'active' => 'Active',
        'provisioning' => 'Provisioning',
        'failed' => 'Failed',
        'suspended' => 'Suspended',
        'cancellation_scheduled' => 'Cancelling',
    ],

    'progress' => 'Progress',
    'events' => 'Events',
    'no_run' => 'No provisioning run for this host.',
    'attempt' => 'Attempt',
    'retry' => 'Retry',
    'error_title' => 'Onboarding failed',

    'remove' => 'Remove host',
    'remove_title' => 'Remove host?',
    'remove_body' => 'Removes only the CluPilot record for :name. The physical server is NOT deleted or wiped.',
    'remove_confirm' => 'Remove',

    'outcome' => [
        'advanced' => 'Advanced',
        'retry' => 'Retry',
        'failed' => 'Failed',
        'info' => 'Info',
    ],

    'step' => [
        'validate_host_input' => 'Validate input',
        'establish_ssh_trust' => 'Establish SSH trust',
        'prepare_base_system' => 'Prepare base system',
        'configure_wireguard' => 'Configure WireGuard',
        'install_proxmox_ve' => 'Install Proxmox VE',
        'reboot_into_pve_kernel' => 'Reboot into Proxmox kernel',
        'configure_proxmox' => 'Configure Proxmox',
        'create_automation_token' => 'Create automation token',
        'verify_proxmox_api' => 'Verify Proxmox API',
        'register_capacity' => 'Register capacity',
        'secure_host_firewall' => 'Secure host firewall',
        'complete_host_onboarding' => 'Complete onboarding',
    ],
];
