63 lines
3.4 KiB
PHP
63 lines
3.4 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',
|
|
],
|
|
];
|