<?php

return [
    'nav_title' => 'Nodes',
    'model_label' => 'Node',
    'model_label_plural' => 'Nodes',
    'create' => 'Create Node',
    'tabs' => [
        'overview' => 'Overview',
        'basic_settings' => 'Basic Settings',
        'advanced_settings' => 'Advanced Settings',
        'config_file' => 'Configuration File',
        'diagnostics' => 'Diagnostics',
    ],
    'table' => [
        'health' => 'Health',
        'reachable' => 'Reachable',
        'name' => 'Name',
        'address' => 'Address',
        'public' => 'Public',
        'servers' => 'Servers',
        'alias' => 'Alias',
        'ip' => 'IP',
        'egg' => 'Egg',
        'owner' => 'Owner',
        'allocation_notes' => 'Notes',
        'no_notes' => 'No notes',
    ],
    'node_info' => 'Node Information',
    'wings_version' => 'Wings Version',
    'cpu_threads' => 'CPU Threads',
    'architecture' => 'Architecture',
    'kernel' => 'Kernel',
    'unknown' => 'Unknown',
    'latest' => '(Latest: :version)',
    'node_uuid' => 'Node UUID',
    'node_id' => 'Node ID',

    'ip_address' => 'IP Address',
    'ip_help' => 'Usually your machine\'s public IP unless you are port forwarding.',
    'alias_help' => 'Optional display name to help you remember what these are.',
    'refresh' => 'Refresh',
    'custom_ip' => 'Enter Custom IP',
    'domain' => 'Domain Name',
    'ssl_ip' => 'Consider using a domain name instead of an ip address',
    'fqdn_ssl' => 'Your panel is currently secured via an SSL certificate and that means your nodes require one too.',
    'dns_error' => 'No valid DNS records were found for the provided domain name.',
    'valid' => 'Valid DNS',
    'invalid' => 'Invalid DNS',
    'port' => 'Port',
    'ports' => 'Ports',
    'port_help' => 'If you are running the daemon behind Cloudflare you should set the daemon port to 8443 to allow websocket proxying over SSL.',
    'connect_port' => 'Connection Port',
    'connect_port_help' => 'Connections to wings will use this port. If you are using a reverse proxy this can differ from the listen port. When using Cloudflare proxy you should use 8443.',
    'listen_port' => 'Listening Port',
    'listen_port_help' => 'Wings will listen on this port.',
    'display_name' => 'Display Name',
    'ssl' => 'Communicate over SSL',
    'panel_on_ssl' => 'Your Panel is using a secure SSL connection, so your Daemon must too.',
    'ssl_help' => 'An IP address cannot use SSL.',

    'tags' => 'Tags',
    'upload_limit' => 'Upload Limit',
    'upload_limit_help' => 'Enter the maximum size of files that can be uploaded through the web-based file manager.',
    'sftp_port' => 'SFTP Port',
    'sftp_alias' => 'SFTP Alias',
    'sftp_alias_help' => 'Display alias for the SFTP address. Leave empty to use the Node FQDN.',
    'daemon_base' => 'Daemon Base Directory',
    'daemon_base_help' => 'The directory where server data will be stored.',
    'use_for_deploy' => 'Use for Deployments?',
    'maintenance_mode' => 'Maintenance Mode',
    'maintenance_mode_help' => 'If the node is marked \'Under Maintenance\' users won\'t be able to access servers that are on that node',

    'cpu' => 'CPU',
    'cpu_limit' => 'CPU Limit',
    'memory' => 'Memory',
    'memory_limit' => 'Memory Limit',
    'disk' => 'Disk',
    'disk_limit' => 'Disk Limit',
    'unlimited' => 'Unlimited',
    'limited' => 'Limited',
    'overallocate' => 'Overallocate',
    'enabled' => 'Enabled',
    'disabled' => 'Disabled',
    'yes' => 'Yes',
    'no' => 'No',

    'instructions' => 'Instructions',
    'instructions_help' => 'Save this file to your daemon\'s root directory, named config.yml',

    'auto_deploy' => 'Auto Deploy Command',
    'auto_question' => 'Choose between Standalone and Docker install.',
    'auto_label' => 'Type',
    'standalone' => 'Standalone',
    'docker' => 'Docker',
    'auto_command' => 'To auto-configure your node run the following command:',
    'reset_token' => 'Reset Authorization Token',
    'token_reset' => 'The daemon token has been reset.',
    'reset_help' => 'Resetting the daemon token will void any request coming from the old token. This token is used for all sensitive operations on the daemon including server creation and deletion. We suggest changing this token regularly for security.',

    'no_nodes' => 'No Nodes',
    'none' => 'None',
    'cpu_chart' => 'CPU - :cpu% of :max%',
    'memory_chart' => 'Memory - :used of :total',
    'disk_chart' => 'Storage - :used of :total',
    'used' => 'Used',
    'unused' => 'Unused',

    'node_has_servers' => 'Node Has Servers',
    'create_allocation' => 'Create Allocation',
    'primary_allocation' => 'Primary Allocation',
    'databases' => 'Databases',
    'backups' => 'Backups',

    'error_connecting' => 'Error connecting to :node',
    'error_connecting_description' => 'The configuration could not be automatically updated on Wings, you will need to manually update the configuration file.',
    'allocation' => 'Allocation',

    'diagnostics' => [
        'header' => 'Node Diagnostics',
        'include_endpoints' => 'Include Endpoints',
        'include_endpoints_hint' => 'Including endpoints will show panel urls within the logs and NOT obscure them.',
        'include_logs' => 'Include Logs',
        'include_logs_hint' => 'Including logs will show recent logs and help track down possible issues.',
        'run_diagnostics' => 'Run Diagnostics',
        'upload_to_pelican' => 'Upload Logs',
        'logs_pulled' => 'Logs Pulled!',
        'logs_uploaded' => 'Logs Uploaded',
        'upload_failed' => 'Logs Upload Failed',
        'view_logs' => 'View Logs',
        'pull' => 'Pull',
        'upload' => 'Upload',
        'clear' => 'Clear',
        '404' => 'The requested diagnostic report could not be found. Make sure wings is up to date and try again.',
    ],

    'cloudflare_issue' => [
        'title' => 'Cloudflare Issue',
        'body' => 'Your Node is not accessible by Cloudflare',
    ],

    'bulk_update_ip' => 'Update IPs',
    'bulk_update_ip_description' => 'Replace an old IP address with a new one for allocations. This is useful when a node\'s IP address changes',
    'update_ip' => 'Update IP',
    'old_ip' => 'Old IP Address',
    'new_ip' => 'New IP Address',
    'no_allocations_to_update' => 'No allocations with the selected old IP address were found',
    'ip_updated' => 'Successfully updated :count of :total allocation(s)',
    'ip_update_failed' => ':count allocation(s) failed to update',
];
