Refactored InstallCommand (+ removed localization from InstallCommand, because it doesn't works actually)
This commit is contained in:
parent
97cd0b5373
commit
0a4636a379
22 changed files with 198 additions and 695 deletions
|
|
@ -337,43 +337,6 @@ PHP Censor',
|
|||
'started' => 'Started',
|
||||
'finished' => 'Finished',
|
||||
|
||||
// Installer
|
||||
'installation_url' => 'PHP Censor Installation URL',
|
||||
'db_host' => 'Database Host',
|
||||
'db_name' => 'Database Name',
|
||||
'db_user' => 'Database Username',
|
||||
'db_pass' => 'Database Password',
|
||||
'admin_name' => 'Admin Name',
|
||||
'admin_pass' => 'Admin Password',
|
||||
'admin_email' => 'Admin Email Address',
|
||||
'config_path' => 'Config File Path',
|
||||
'install_app' => 'Install PHP Censor',
|
||||
'welcome_to_app' => 'Welcome to PHP Censor',
|
||||
'please_answer' => 'Please answer the following questions:',
|
||||
'app_php_req' => 'PHP Censor requires at least PHP 5.4.0 to function.',
|
||||
'extension_required' => 'Extension required: %s',
|
||||
'function_required' => 'PHP Censor needs to be able to call the %s() function. Is it disabled in php.ini?',
|
||||
'requirements_not_met' => 'PHP Censor cannot be installed, as not all requirements are met.
|
||||
Please review the errors above before continuing.',
|
||||
'must_be_valid_email' => 'Must be a valid email address.',
|
||||
'must_be_valid_url' => 'Must be a valid URL.',
|
||||
'enter_name' => 'Admin Name: ',
|
||||
'enter_email' => 'Admin Email: ',
|
||||
'enter_password' => 'Admin Password: ',
|
||||
'enter_app_url' => 'Your PHP Censor URL ("http://php-censor.local" for example): ',
|
||||
|
||||
'enter_db_host' => 'Please enter your DB host [localhost]: ',
|
||||
'enter_db_port' => 'Please enter your DB port [3306]: ',
|
||||
'enter_db_name' => 'Please enter your DB database name [php-censor-db]: ',
|
||||
'enter_db_user' => 'Please enter your DB username [php-censor-user]: ',
|
||||
'enter_db_pass' => 'Please enter your DB password: ',
|
||||
'could_not_connect' => 'PHP Censor could not connect to DB with the details provided. Please try again.',
|
||||
'setting_up_db' => 'Setting up your database... ',
|
||||
'user_created' => 'User account created!',
|
||||
'failed_to_create' => 'PHP Censor failed to create your admin account.',
|
||||
'config_exists' => 'The PHP Censor config file exists and is not empty.',
|
||||
'update_instead' => 'If you were trying to update PHP Censor, please use php-censor:update instead.',
|
||||
|
||||
// Update
|
||||
'update_app' => 'Update the database to reflect modified models.',
|
||||
'updating_app' => 'Updating PHP Censor database: ',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue