106 lines
6.6 KiB
PHP
106 lines
6.6 KiB
PHP
<?php
|
|
/*
|
|
* Pterodactyl - Panel
|
|
* Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com>.
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
* copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
* SOFTWARE.
|
|
*/
|
|
|
|
return [
|
|
'location' => [
|
|
'no_location_found' => 'Could not locate a record matching the provided short code.',
|
|
'ask_short' => 'Location Short Code',
|
|
'ask_long' => 'Location Description',
|
|
'created' => 'Successfully created a new location (:name) with an ID of :id.',
|
|
'deleted' => 'Successfully deleted the requested location.',
|
|
],
|
|
'user' => [
|
|
'search_users' => 'Enter a Username, UUID, or Email Address',
|
|
'select_search_user' => 'ID of user to delete (Enter \'0\' to re-search)',
|
|
'deleted' => 'User successfully deleted from the Panel.',
|
|
'confirm_delete' => 'Are you sure you want to delete this user from the Panel?',
|
|
'no_users_found' => 'No users were found for the search term provided.',
|
|
'multiple_found' => 'Multiple accounts were found for the user provided, unable to delete a user because of the --no-interaction flag.',
|
|
'ask_admin' => 'Is this user an administrator?',
|
|
'ask_email' => 'Email Address',
|
|
'ask_username' => 'Username',
|
|
'ask_name_first' => 'First Name',
|
|
'ask_name_last' => 'Last Name',
|
|
'ask_password' => 'Password',
|
|
'ask_password_tip' => 'If you would like to create an account with a random password emailed to the user, re-run this command (CTRL+C) and pass the `--no-password` flag.',
|
|
'ask_password_help' => 'Passwords must be at least 8 characters in length and contain at least one capital letter and number.',
|
|
'2fa_help_text' => [
|
|
'This command will disable 2-factor authentication for a user\'s account if it is enabled. This should only be used as an account recovery command if the user is locked out of their account.',
|
|
'If this is not what you wanted to do, press CTRL+C to exit this process.',
|
|
],
|
|
'2fa_disabled' => '2-Factor authentication has been disabled for :email.',
|
|
],
|
|
'schedule' => [
|
|
'output_line' => 'Dispatching job for first task in `:schedule` (:hash).',
|
|
],
|
|
'maintenance' => [
|
|
'deleting_service_backup' => 'Deleting service backup file :file.',
|
|
],
|
|
'server' => [
|
|
'rebuild_failed' => 'Rebuild request for ":name" (#:id) on node ":node" failed with error: :message',
|
|
],
|
|
'environment' => [
|
|
'mail' => [
|
|
'ask_smtp_host' => 'SMTP Host (e.g. smtp.google.com)',
|
|
'ask_smtp_port' => 'SMTP Port',
|
|
'ask_smtp_username' => 'SMTP Username',
|
|
'ask_smtp_password' => 'SMTP Password',
|
|
'ask_mailgun_domain' => 'Mailgun Domain',
|
|
'ask_mailgun_secret' => 'Mailgun Secret',
|
|
'ask_mandrill_secret' => 'Mandrill Secret',
|
|
'ask_postmark_username' => 'Postmark API Key',
|
|
'ask_driver' => 'Which driver should be used for sending emails?',
|
|
'ask_mail_from' => 'Email address emails should originate from',
|
|
'ask_mail_name' => 'Name that emails should appear from',
|
|
'ask_encryption' => 'Encryption method to use',
|
|
],
|
|
'database' => [
|
|
'host_warning' => '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".',
|
|
'host' => 'Database Host',
|
|
'port' => 'Database Port',
|
|
'database' => 'Database Name',
|
|
'username_warning' => '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.',
|
|
'username' => 'Database Username',
|
|
'password_defined' => 'It appears you already have a MySQL connection password defined, would you like to change it?',
|
|
'password' => 'Database Password',
|
|
'connection_error' => 'Unable to connect to the MySQL server using the provided credentials. The error returned was ":error".',
|
|
'creds_not_saved' => 'Your connection credentials have NOT been saved. You will need to provide valid connection information before proceeding.',
|
|
'try_again' => 'Go back and try again?',
|
|
],
|
|
'app' => [
|
|
'app_url_help' => '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.',
|
|
'app_url' => 'Application URL',
|
|
'timezone_help' => 'The timezone should match one of PHP\'s supported timezones. If you are unsure, please reference http://php.net/manual/en/timezones.php.',
|
|
'timezone' => 'Application Timezone',
|
|
'cache_driver' => 'Cache Driver',
|
|
'session_driver' => 'Session Driver',
|
|
'using_redis' => '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.',
|
|
'redis_host' => 'Redis Host',
|
|
'redis_password' => 'Redis Password',
|
|
'redis_port' => 'Redis Port',
|
|
'redis_pass_defined' => 'It seems a password is already defined for Redis, would you like to change it?',
|
|
'redis_pass_help' => 'By default a Redis server instance has no password as it is running locally and inaccessable to the outside world. If this is the case, simply hit enter without entering a value.',
|
|
],
|
|
],
|
|
];
|