Push updated languages
This commit is contained in:
parent
0afa568095
commit
a1dff5cda0
101 changed files with 1626 additions and 1317 deletions
|
@ -1,48 +1,12 @@
|
|||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2016 Dane Everitt <dane@daneeveritt.com>
|
||||
* Some Modifications (c) 2015 Dylan Seidt <dylan.seidt@gmail.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 [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'These credentials do not match our records.',
|
||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||
'errorencountered' => 'There was an error encountered while attempting to process this request.',
|
||||
'resetpassword' => 'Reset Password',
|
||||
'confirmpassword' => 'Confirm Password',
|
||||
'sendlink' => 'Send Password Reset Link',
|
||||
'emailsent' => 'Your password reset email is on its way.',
|
||||
'remeberme' => 'Remember Me',
|
||||
'totp_failed' => 'The TOTP token provided was invalid. Please ensure that the token generated by your device was valid.',
|
||||
|
||||
];
|
||||
return array(
|
||||
"confirmpassword" => "Confirm Password",
|
||||
"emailsent" => "Your password reset email is on its way.",
|
||||
"errorencountered" => "There was an error encountered while attempting to process this request.",
|
||||
"failed" => "These credentials do not match our records.",
|
||||
"remeberme" => "Remember Me",
|
||||
"resetpassword" => "Reset Password",
|
||||
"sendlink" => "Send Password Reset Link",
|
||||
"throttle" => "Too many login attempts. Please try again in :seconds seconds.",
|
||||
"totp_failed" => "The TOTP token provided was invalid. Please ensure that the token generated by your device was valid.",
|
||||
);
|
|
@ -1,71 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2016 Dane Everitt <dane@daneeveritt.com>
|
||||
* Some Modifications (c) 2015 Dylan Seidt <dylan.seidt@gmail.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 [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Base Pterodactyl Language
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These base strings are used throughout the front-end of Pterodactyl but
|
||||
| not on pages that are used when viewing a server. Those keys are in server.php
|
||||
|
|
||||
*/
|
||||
|
||||
'validation_error' => 'An error occured while validating the data you submitted:',
|
||||
|
||||
'confirm' => 'Are you sure?',
|
||||
'failed' => 'These credentials do not match our records.',
|
||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||
'view_as_admin' => 'You are viewing this server listing as an admin. As such, all servers installed on the system are displayed. Any servers that you are set as the owner of are marked with a blue dot to the left of their name.',
|
||||
'server_name' => 'Server Name',
|
||||
'no_servers' => 'You do not currently have any servers listed on your account.',
|
||||
'form_error' => 'The following errors were encountered while trying to process this request.',
|
||||
'password_req' => 'Passwords must meet the following requirements: at least one uppercase character, one lowercase character, one digit, and be at least 8 characters in length.',
|
||||
|
||||
'account' => [
|
||||
'totp_header' => 'Two-Factor Authentication',
|
||||
'totp_qr' => 'TOTP QR Code',
|
||||
'totp_enable_help' => 'It appears that you do not have Two-Factor authentication enabled. This method of authentication adds an additional barrier preventing unauthorized entry to your account. If you enable it you will be required to input a code generated on your phone or other TOTP supporting device before finishing your login.',
|
||||
'totp_apps' => 'You must have a TOTP supporting application (e.g Google Authenticator, DUO Mobile, Authy, Enpass) to use this option.',
|
||||
'totp_enable' => 'Enable Two-Factor Authentication',
|
||||
'totp_disable' => 'Disable Two-Factor Authentication',
|
||||
'totp_token' => 'TOTP Token',
|
||||
'totp_disable_help' => 'In order to disable TOTP on this account you will need to provide a valid TOTP token. Once validated TOTP protection on this account will be disabled.',
|
||||
'totp_checkpoint_help' => 'Please verify your TOTP settings by scanning the QR Code to the right with your phone\'s authenticator application, and then enter the 6 number code generated by the application in the box below. Press the enter key when finished.',
|
||||
'totp_enabled' => 'Your account has been enabled with TOTP verification. Please click the close button on this box to finish.',
|
||||
'totp_enabled_error' => 'The TOTP token provided was unable to be verified. Please try again.',
|
||||
|
||||
'email_password' => 'Email Password',
|
||||
'update_user' => 'Update User',
|
||||
'delete_user' => 'Delete User',
|
||||
'update_email' => 'Update Email',
|
||||
'new_email' => 'New Email',
|
||||
'new_password' => 'New Password',
|
||||
'update_pass' => 'Update Password',
|
||||
|
||||
],
|
||||
|
||||
];
|
||||
return array(
|
||||
"account" => array(
|
||||
"delete_user" => "Delete User",
|
||||
"email_password" => "Email Password",
|
||||
"new_email" => "New Email",
|
||||
"new_password" => "New Password",
|
||||
"totp_apps" => "You must have a TOTP supporting application (e.g Google Authenticator, DUO Mobile, Authy, Enpass) to use this option.",
|
||||
"totp_checkpoint_help" => "Please verify your TOTP settings by scanning the QR Code to the right with your phone's authenticator application, and then enter the 6 number code generated by the application in the box below. Press the enter key when finished.",
|
||||
"totp_disable" => "Disable Two-Factor Authentication",
|
||||
"totp_disable_help" => "In order to disable TOTP on this account you will need to provide a valid TOTP token. Once validated TOTP protection on this account will be disabled.",
|
||||
"totp_enable" => "Enable Two-Factor Authentication",
|
||||
"totp_enabled" => "Your account has been enabled with TOTP verification. Please click the close button on this box to finish.",
|
||||
"totp_enabled_error" => "The TOTP token provided was unable to be verified. Please try again.",
|
||||
"totp_enable_help" => "It appears that you do not have Two-Factor authentication enabled. This method of authentication adds an additional barrier preventing unauthorized entry to your account. If you enable it you will be required to input a code generated on your phone or other TOTP supporting device before finishing your login.",
|
||||
"totp_header" => "Two-Factor Authentication",
|
||||
"totp_qr" => "TOTP QR Code",
|
||||
"totp_token" => "TOTP Token",
|
||||
"update_email" => "Update Email",
|
||||
"update_pass" => "Update Password",
|
||||
"update_user" => "Update User",
|
||||
),
|
||||
"confirm" => "Are you sure?",
|
||||
"form_error" => "The following errors were encountered while trying to process this request.",
|
||||
"no_servers" => "You do not currently have any servers listed on your account.",
|
||||
"password_req" => "Passwords must meet the following requirements: at least one uppercase character, one lowercase character, one digit, and be at least 8 characters in length.",
|
||||
"server_name" => "Server Name",
|
||||
"validation_error" => "An error occured while validating the data you submitted:",
|
||||
"view_as_admin" => "You are viewing this server listing as an admin. As such, all servers installed on the system are displayed. Any servers that you are set as the owner of are marked with a blue dot to the left of their name.",
|
||||
);
|
|
@ -1,51 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2016 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 [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« Previous',
|
||||
'next' => 'Next »',
|
||||
'sidebar' => [
|
||||
'account_controls' => 'Account Controls',
|
||||
'account_settings' => 'Account Settings',
|
||||
'account_security' => 'Account Security',
|
||||
'server_controls' => 'Server Controls',
|
||||
'servers' => 'Your Servers',
|
||||
'overview' => 'Server Overview',
|
||||
'files' => 'File Manager',
|
||||
'subusers' => 'Manage Sub-Users',
|
||||
'manage' => 'Manage Server',
|
||||
],
|
||||
|
||||
];
|
||||
return array(
|
||||
"next" => "Next »",
|
||||
"previous" => "« Previous",
|
||||
"sidebar" => array(
|
||||
"account_controls" => "Account Controls",
|
||||
"account_security" => "Account Security",
|
||||
"account_settings" => "Account Settings",
|
||||
"files" => "File Manager",
|
||||
"manage" => "Manage Server",
|
||||
"overview" => "Server Overview",
|
||||
"servers" => "Your Servers",
|
||||
"server_controls" => "Server Controls",
|
||||
"subusers" => "Manage Sub-Users",
|
||||
),
|
||||
);
|
|
@ -1,43 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2016 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 [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reminder Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
*/
|
||||
|
||||
'password' => 'Passwords must be at least six characters and match the confirmation.',
|
||||
'reset' => 'Your password has been reset!',
|
||||
'sent' => 'We have e-mailed your password reset link!',
|
||||
'token' => 'This password reset token is invalid.',
|
||||
'user' => "We can't find a user with that e-mail address.",
|
||||
|
||||
];
|
||||
return array(
|
||||
"password" => "Passwords must be at least six characters and match the confirmation.",
|
||||
"reset" => "Your password has been reset!",
|
||||
"sent" => "We have e-mailed your password reset link!",
|
||||
"token" => "This password reset token is invalid.",
|
||||
"user" => "We can't find a user with that e-mail address.",
|
||||
);
|
|
@ -1,59 +1,28 @@
|
|||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2016 Dane Everitt <dane@daneeveritt.com>
|
||||
* Some Modifications (c) 2015 Dylan Seidt <dylan.seidt@gmail.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 [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pterodactyl Language Strings for /server/{server} Routes
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'ajax' => [
|
||||
'socket_error' => 'We were unable to connect to the main Socket.IO server, there may be network issues currently. The panel may not work as expected.',
|
||||
'socket_status' => 'This server\'s power status has changed to',
|
||||
'socket_status_crashed' => 'This server has been detected as CRASHED.',
|
||||
],
|
||||
'index' => [
|
||||
'add_new' => 'Add New Server',
|
||||
'memory_use' => 'Memory Usage',
|
||||
'cpu_use' => 'CPU Usage',
|
||||
'xaxis' => 'Time (2s Increments)',
|
||||
'server_info' => 'Server Information',
|
||||
'connection' => 'Default Connection',
|
||||
'mem_limit' => 'Memory Limit',
|
||||
'disk_space' => 'Disk Space',
|
||||
'control' => 'Control Server',
|
||||
'usage' => 'Usage',
|
||||
'allocation' => 'Allocation',
|
||||
'command' => 'Enter Console Command',
|
||||
],
|
||||
'files' => [
|
||||
'loading' => 'Loading file listing, this might take a few seconds...',
|
||||
'yaml_notice' => 'You are currently editing a YAML file. These files do not accept tabs, they must use spaces. We\'ve gone ahead and made it so that hitting tab will insert :dropdown spaces.',
|
||||
'back' => 'Back to File Manager',
|
||||
'saved' => 'File has successfully been saved.',
|
||||
],
|
||||
|
||||
];
|
||||
return array(
|
||||
"ajax" => array(
|
||||
"socket_error" => "We were unable to connect to the main Socket.IO server, there may be network issues currently. The panel may not work as expected.",
|
||||
"socket_status" => "This server's power status has changed to",
|
||||
"socket_status_crashed" => "This server has been detected as CRASHED.",
|
||||
),
|
||||
"files" => array(
|
||||
"back" => "Back to File Manager",
|
||||
"loading" => "Loading file listing, this might take a few seconds...",
|
||||
"saved" => "File has successfully been saved.",
|
||||
"yaml_notice" => "You are currently editing a YAML file. These files do not accept tabs, they must use spaces. We've gone ahead and made it so that hitting tab will insert :dropdown spaces.",
|
||||
),
|
||||
"index" => array(
|
||||
"add_new" => "Add New Server",
|
||||
"allocation" => "Allocation",
|
||||
"command" => "Enter Console Command",
|
||||
"connection" => "Default Connection",
|
||||
"control" => "Control Server",
|
||||
"cpu_use" => "CPU Usage",
|
||||
"disk_space" => "Disk Space",
|
||||
"memory_use" => "Memory Usage",
|
||||
"mem_limit" => "Memory Limit",
|
||||
"server_info" => "Server Information",
|
||||
"usage" => "Usage",
|
||||
"xaxis" => "Time (2s Increments)",
|
||||
),
|
||||
);
|
|
@ -1,61 +1,29 @@
|
|||
<?php
|
||||
/**
|
||||
* Pterodactyl - Panel
|
||||
* Copyright (c) 2015 - 2016 Dane Everitt <dane@daneeveritt.com>
|
||||
* Some Modifications (c) 2015 Dylan Seidt <dylan.seidt@gmail.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 [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Standalone Pterodactyl Language Strings
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'login' => 'Login',
|
||||
'password' => 'Password',
|
||||
'email' => 'Email',
|
||||
'whoops' => 'Whoops',
|
||||
'success' => 'Success',
|
||||
'location' => 'Location',
|
||||
'node' => 'Node',
|
||||
'connection' => 'Connection',
|
||||
'language' => 'Language',
|
||||
'close' => 'Close',
|
||||
'start' => 'Start',
|
||||
'stop' => 'Stop',
|
||||
'restart' => 'Restart',
|
||||
'save' => 'Save',
|
||||
'enabled' => 'Enabled',
|
||||
'disabled' => 'Disabled',
|
||||
'submit' => 'Submit',
|
||||
'current_password' => 'Current Password',
|
||||
'again' => 'Again',
|
||||
'registered' => 'Registered',
|
||||
'root_administrator' => 'Root Administrator',
|
||||
'yes' => 'Yes',
|
||||
'no' => 'No',
|
||||
'memory' => 'Memory',
|
||||
'cpu' => 'CPU',
|
||||
'status' => 'Status',
|
||||
'players' => 'Players',
|
||||
|
||||
];
|
||||
return array(
|
||||
"again" => "Again",
|
||||
"close" => "Close",
|
||||
"connection" => "Connection",
|
||||
"cpu" => "CPU",
|
||||
"current_password" => "Current Password",
|
||||
"disabled" => "Disabled",
|
||||
"email" => "Email",
|
||||
"enabled" => "Enabled",
|
||||
"language" => "Language",
|
||||
"location" => "Location",
|
||||
"login" => "Login",
|
||||
"memory" => "Memory",
|
||||
"no" => "No",
|
||||
"node" => "Node",
|
||||
"players" => "Players",
|
||||
"registered" => "Registered",
|
||||
"restart" => "Restart",
|
||||
"root_administrator" => "Root Administrator",
|
||||
"save" => "Save",
|
||||
"start" => "Start",
|
||||
"status" => "Status",
|
||||
"stop" => "Stop",
|
||||
"submit" => "Submit",
|
||||
"success" => "Success",
|
||||
"whoops" => "Whoops",
|
||||
"yes" => "Yes",
|
||||
);
|
|
@ -1,110 +1,70 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'The :attribute must be accepted.',
|
||||
'active_url' => 'The :attribute is not a valid URL.',
|
||||
'after' => 'The :attribute must be a date after :date.',
|
||||
'alpha' => 'The :attribute may only contain letters.',
|
||||
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
|
||||
'alpha_num' => 'The :attribute may only contain letters and numbers.',
|
||||
'array' => 'The :attribute must be an array.',
|
||||
'before' => 'The :attribute must be a date before :date.',
|
||||
'between' => [
|
||||
'numeric' => 'The :attribute must be between :min and :max.',
|
||||
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
||||
'string' => 'The :attribute must be between :min and :max characters.',
|
||||
'array' => 'The :attribute must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'confirmed' => 'The :attribute confirmation does not match.',
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
'digits' => 'The :attribute must be :digits digits.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'filled' => 'The :attribute field is required.',
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'max' => [
|
||||
'numeric' => 'The :attribute may not be greater than :max.',
|
||||
'file' => 'The :attribute may not be greater than :max kilobytes.',
|
||||
'string' => 'The :attribute may not be greater than :max characters.',
|
||||
'array' => 'The :attribute may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The :attribute must be at least :min.',
|
||||
'file' => 'The :attribute must be at least :min kilobytes.',
|
||||
'string' => 'The :attribute must be at least :min characters.',
|
||||
'array' => 'The :attribute must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'numeric' => 'The :attribute must be a number.',
|
||||
'regex' => 'The :attribute format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values is present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
'file' => 'The :attribute must be :size kilobytes.',
|
||||
'string' => 'The :attribute must be :size characters.',
|
||||
'array' => 'The :attribute must contain :size items.',
|
||||
],
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'totp' => 'The totp token is invalid. Did it expire?',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'url' => 'The :attribute format is invalid.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Attributes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used to swap attribute place-holders
|
||||
| with something more reader friendly such as E-Mail Address instead
|
||||
| of "email". This simply helps us make messages a little cleaner.
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [],
|
||||
|
||||
];
|
||||
return array(
|
||||
"accepted" => "The :attribute must be accepted.",
|
||||
"active_url" => "The :attribute is not a valid URL.",
|
||||
"after" => "The :attribute must be a date after :date.",
|
||||
"alpha" => "The :attribute may only contain letters.",
|
||||
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
|
||||
"alpha_num" => "The :attribute may only contain letters and numbers.",
|
||||
"array" => "The :attribute must be an array.",
|
||||
"before" => "The :attribute must be a date before :date.",
|
||||
"between" => array(
|
||||
"array" => "The :attribute must have between :min and :max items.",
|
||||
"file" => "The :attribute must be between :min and :max kilobytes.",
|
||||
"numeric" => "The :attribute must be between :min and :max.",
|
||||
"string" => "The :attribute must be between :min and :max characters.",
|
||||
),
|
||||
"boolean" => "The :attribute field must be true or false.",
|
||||
"confirmed" => "The :attribute confirmation does not match.",
|
||||
"custom" => array(
|
||||
"attribute-name" => array(
|
||||
"rule-name" => "custom-message",
|
||||
),
|
||||
),
|
||||
"date" => "The :attribute is not a valid date.",
|
||||
"date_format" => "The :attribute does not match the format :format.",
|
||||
"different" => "The :attribute and :other must be different.",
|
||||
"digits" => "The :attribute must be :digits digits.",
|
||||
"digits_between" => "The :attribute must be between :min and :max digits.",
|
||||
"exists" => "The selected :attribute is invalid.",
|
||||
"filled" => "The :attribute field is required.",
|
||||
"image" => "The :attribute must be an image.",
|
||||
"in" => "The selected :attribute is invalid.",
|
||||
"integer" => "The :attribute must be an integer.",
|
||||
"ip" => "The :attribute must be a valid IP address.",
|
||||
"json" => "The :attribute must be a valid JSON string.",
|
||||
"max" => array(
|
||||
"array" => "The :attribute may not have more than :max items.",
|
||||
"file" => "The :attribute may not be greater than :max kilobytes.",
|
||||
"numeric" => "The :attribute may not be greater than :max.",
|
||||
"string" => "The :attribute may not be greater than :max characters.",
|
||||
),
|
||||
"mimes" => "The :attribute must be a file of type: :values.",
|
||||
"min" => array(
|
||||
"array" => "The :attribute must have at least :min items.",
|
||||
"file" => "The :attribute must be at least :min kilobytes.",
|
||||
"numeric" => "The :attribute must be at least :min.",
|
||||
"string" => "The :attribute must be at least :min characters.",
|
||||
),
|
||||
"not_in" => "The selected :attribute is invalid.",
|
||||
"numeric" => "The :attribute must be a number.",
|
||||
"regex" => "The :attribute format is invalid.",
|
||||
"required" => "The :attribute field is required.",
|
||||
"required_if" => "The :attribute field is required when :other is :value.",
|
||||
"required_with" => "The :attribute field is required when :values is present.",
|
||||
"required_without" => "The :attribute field is required when :values is not present.",
|
||||
"required_without_all" => "The :attribute field is required when none of :values are present.",
|
||||
"required_with_all" => "The :attribute field is required when :values is present.",
|
||||
"same" => "The :attribute and :other must match.",
|
||||
"size" => array(
|
||||
"array" => "The :attribute must contain :size items.",
|
||||
"file" => "The :attribute must be :size kilobytes.",
|
||||
"numeric" => "The :attribute must be :size.",
|
||||
"string" => "The :attribute must be :size characters.",
|
||||
),
|
||||
"string" => "The :attribute must be a string.",
|
||||
"timezone" => "The :attribute must be a valid zone.",
|
||||
"totp" => "The totp token is invalid. Did it expire?",
|
||||
"unique" => "The :attribute has already been taken.",
|
||||
"url" => "The :attribute format is invalid.",
|
||||
);
|
Reference in a new issue