Apply fixes from StyleCI
This commit is contained in:
parent
6331a29962
commit
920ed824d6
98 changed files with 1634 additions and 1536 deletions
|
@ -1,12 +1,13 @@
|
|||
<?php
|
||||
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.",
|
||||
);
|
||||
|
||||
return [
|
||||
'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,30 +1,31 @@
|
|||
<?php
|
||||
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.",
|
||||
);
|
||||
|
||||
return [
|
||||
'account' => [
|
||||
'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,16 +1,17 @@
|
|||
<?php
|
||||
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",
|
||||
),
|
||||
);
|
||||
|
||||
return [
|
||||
'next' => 'Next »',
|
||||
'previous' => '« Previous',
|
||||
'sidebar' => [
|
||||
'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,8 +1,9 @@
|
|||
<?php
|
||||
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.",
|
||||
);
|
||||
|
||||
return [
|
||||
'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,28 +1,29 @@
|
|||
<?php
|
||||
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)",
|
||||
),
|
||||
);
|
||||
|
||||
return [
|
||||
'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.',
|
||||
],
|
||||
'files' => [
|
||||
'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' => [
|
||||
'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,29 +1,30 @@
|
|||
<?php
|
||||
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",
|
||||
);
|
||||
|
||||
return [
|
||||
'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,70 +1,71 @@
|
|||
<?php
|
||||
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.",
|
||||
);
|
||||
|
||||
return [
|
||||
'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' => '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' => [
|
||||
'attribute-name' => [
|
||||
'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' => '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' => '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' => '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