<?php

return [
    'appsettings' => [
        'comment' => [
            'author' => 'Provide the email address that eggs exported by this Panel should be from. This should be a valid email address.',
            'url' => 'The application URL MUST begin with https:// or http:// depending on if you are using SSL or not. If you do not include the scheme your emails and other content will link to the wrong location.',
            'timezone' => "The timezone should match one of PHP\'s supported timezones. If you are unsure, please reference https://php.net/manual/en/timezones.php.",
        ],
        'redis' => [
            'note' => 'You\'ve selected the Redis driver for one or more options, please provide valid connection information below. In most cases you can use the defaults provided unless you have modified your setup.',
            'comment' => 'By default a Redis server instance has for username default and no password as it is running locally and inaccessible to the outside world. If this is the case, simply hit enter without entering a value.',
            'confirm' => 'It seems a :field is already defined for Redis, would you like to change it?',
        ],
    ],
    'database_settings' => [
        'DB_HOST_note' => 'It is highly recommended to not use "localhost" as your database host as we have seen frequent socket connection issues. If you want to use a local connection you should be using "127.0.0.1".',
        'DB_USERNAME_note' => "Using the root account for MySQL connections is not only highly frowned upon, it is also not allowed by this application. You\'ll need to have created a MySQL user for this software.",
        'DB_PASSWORD_note' => 'It appears you already have a MySQL connection password defined, would you like to change it?',
        'DB_error_2' => 'Your connection credentials have NOT been saved. You will need to provide valid connection information before proceeding.',
        'go_back' => 'Go back and try again',
    ],
    'make_node' => [
        'name' => 'Enter a short identifier used to distinguish this node from others',
        'description' => 'Enter a description to identify the node',
        'scheme' => 'Please either enter https for SSL or http for a non-ssl connection',
        'fqdn' => 'Enter a domain name (e.g node.example.com) to be used for connecting to the daemon. An IP address may only be used if you are not using SSL for this node',
        'public' => 'Should this node be public? As a note, setting a node to private you will be denying the ability to auto-deploy to this node.',
        'behind_proxy' => 'Is your FQDN behind a proxy?',
        'maintenance_mode' => 'Should maintenance mode be enabled?',
        'memory' => 'Enter the maximum amount of memory',
        'memory_overallocate' => 'Enter the amount of memory to over allocate by, -1 will disable checking and 0 will prevent creating new servers',
        'disk' => 'Enter the maximum amount of disk space',
        'disk_overallocate' => 'Enter the amount of disk to over allocate by, -1 will disable checking and 0 will prevent creating new server',
        'cpu' => 'Enter the maximum amount of cpu',
        'cpu_overallocate' => 'Enter the amount of cpu to over allocate by, -1 will disable checking and 0 will prevent creating new server',
        'upload_size' => "'Enter the maximum filesize upload",
        'daemonListen' => 'Enter the daemon listening port',
        'daemonConnect' => 'Enter the daemon connecting port (can be same as listen port)',
        'daemonSFTP' => 'Enter the daemon SFTP listening port',
        'daemonSFTPAlias' => 'Enter the daemon SFTP alias (can be empty)',
        'daemonBase' => 'Enter the base folder',
        'success' => 'Successfully created a new node with the name :name and has an id of :id',
    ],
    'node_config' => [
        'error_not_exist' => 'The selected node does not exist.',
        'error_invalid_format' => 'Invalid format specified. Valid options are yaml and json.',
    ],
    'key_generate' => [
        'error_already_exist' => 'It appears you have already configured an application encryption key. Continuing with this process with overwrite that key and cause data corruption for any existing encrypted data. DO NOT CONTINUE UNLESS YOU KNOW WHAT YOU ARE DOING.',
        'understand' => 'I understand the consequences of performing this command and accept all responsibility for the loss of encrypted data.',
        'continue' => 'Are you sure you wish to continue? Changing the application encryption key WILL CAUSE DATA LOSS.',
    ],
    'schedule' => [
        'process' => [
            'no_tasks' => 'There are no scheduled tasks for servers that need to be run.',
            'error_message' => 'An error was encountered while processing Schedule: :schedules',
        ],
    ],
];
