385 lines
16 KiB
PHP
385 lines
16 KiB
PHP
<?php
|
|
/**
|
|
* PHPCI - Continuous Integration for PHP
|
|
*
|
|
* @copyright Copyright 2014, Block 8 Limited.
|
|
* @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md
|
|
* @link https://www.phptesting.org/
|
|
*/
|
|
|
|
$strings = array(
|
|
'language_name' => 'English',
|
|
'language' => 'Language',
|
|
|
|
// Log in:
|
|
'log_in_to_phpci' => 'Log in to PHPCI',
|
|
'login_error' => 'Incorrect email address or password',
|
|
'forgotten_password_link' => 'Forgotten your password?',
|
|
'reset_emailed' => 'We\'ve emailed you a link to reset your password.',
|
|
'reset_header' => '<strong>Don\'t worry!</strong><br>Just enter your email address below and we\'ll email
|
|
you a link to reset your password.',
|
|
'reset_email_address' => 'Enter your email address:',
|
|
'reset_send_email' => 'Email password reset',
|
|
'reset_enter_password' => 'Please enter a new password',
|
|
'reset_new_password' => 'New password:',
|
|
'reset_change_password' => 'Change password',
|
|
'reset_no_user_exists' => 'No user exists with that email address, please try again.',
|
|
'reset_email_body' => 'Hi %s,
|
|
|
|
You have received this email because you, or someone else, has requested a password reset for PHPCI.
|
|
|
|
If this was you, please click the following link to reset your password: %ssession/reset-password/%d/%s
|
|
|
|
Otherwise, please ignore this email and no action will be taken.
|
|
|
|
Thank you,
|
|
|
|
PHPCI',
|
|
|
|
'reset_email_title' => 'PHPCI Password Reset for %s',
|
|
'reset_invalid' => 'Invalid password reset request.',
|
|
'email_address' => 'Email Address',
|
|
'password' => 'Password',
|
|
'log_in' => 'Log in',
|
|
|
|
|
|
// Top Nav
|
|
'toggle_navigation' => 'Toggle Navigation',
|
|
'n_builds_pending' => '%d builds pending',
|
|
'n_builds_running' => '%d builds running',
|
|
'edit_profile' => 'Edit Profile',
|
|
'sign_out' => 'Sign Out',
|
|
'branch_x' => 'Branch: %s',
|
|
'created_x' => 'Created: %s',
|
|
'started_x' => 'Started: %s',
|
|
|
|
// Sidebar
|
|
'hello_name' => 'Hello, %s',
|
|
'dashboard' => 'Dashboard',
|
|
'admin_options' => 'Admin Options',
|
|
'add_project' => 'Add Project',
|
|
'settings' => 'Settings',
|
|
'manage_users' => 'Manage Users',
|
|
'plugins' => 'Plugins',
|
|
'view' => 'View',
|
|
'build_now' => 'Build Now',
|
|
'edit_project' => 'Edit Project',
|
|
'delete_project' => 'Delete Project',
|
|
|
|
// Project Summary:
|
|
'no_builds_yet' => 'No builds yet!',
|
|
'x_of_x_failed' => '%d out of the last %d builds failed.',
|
|
'x_of_x_failed_short' => '%d / %d failed.',
|
|
'last_successful_build' => ' The last successful build was %s.',
|
|
'never_built_successfully' => ' This project has never built successfully.',
|
|
'all_builds_passed' => 'All of the last %d builds passed.',
|
|
'all_builds_passed_short' => '%d / %d passed.',
|
|
'last_failed_build' => ' The last failed build was %s.',
|
|
'never_failed_build' => ' This project has never failed a build.',
|
|
'view_project' => 'View Project',
|
|
|
|
// Timeline:
|
|
'latest_builds' => 'Latest Builds',
|
|
'pending' => 'Pending',
|
|
'running' => 'Running',
|
|
'success' => 'Success',
|
|
'successful' => 'Successful',
|
|
'failed' => 'Failed',
|
|
'manual_build' => 'Manual Build',
|
|
|
|
// Add/Edit Project:
|
|
'new_project' => 'New Project',
|
|
'project_x_not_found' => 'Project with ID %d does not exist.',
|
|
'project_details' => 'Project Details',
|
|
'public_key_help' => 'To make it easier to get started, we\'ve generated an SSH key pair for you to use
|
|
for this project. To use it, just add the following public key to the "deploy keys" section
|
|
of your chosen source code hosting platform.',
|
|
'select_repository_type' => 'Select repository type...',
|
|
'github' => 'GitHub',
|
|
'bitbucket' => 'Bitbucket',
|
|
'gitlab' => 'GitLab',
|
|
'remote' => 'Remote URL',
|
|
'local' => 'Local Path',
|
|
'hg' => 'Mercurial',
|
|
|
|
'where_hosted' => 'Where is your project hosted?',
|
|
'choose_github' => 'Choose a GitHub repository:',
|
|
|
|
'repo_name' => 'Repository Name / URL (Remote) or Path (Local)',
|
|
'project_title' => 'Project Title',
|
|
'project_private_key' => 'Private key to use to access repository
|
|
(leave blank for local and/or anonymous remotes)',
|
|
'build_config' => 'PHPCI build config for this project
|
|
(if you cannot add a phpci.yml file in the project repository)',
|
|
'default_branch' => 'Default branch name',
|
|
'allow_public_status' => 'Enable public status page and image for this project?',
|
|
'save_project' => 'Save Project',
|
|
|
|
'error_mercurial' => 'Mercurial repository URL must be start with http:// or https://',
|
|
'error_remote' => 'Repository URL must be start with git://, http:// or https://',
|
|
'error_gitlab' => 'GitLab Repository name must be in the format "user@domain.tld:owner/repo.git"',
|
|
'error_github' => 'Repository name must be in the format "owner/repo"',
|
|
'error_bitbucket' => 'Repository name must be in the format "owner/repo"',
|
|
'error_path' => 'The path you specified does not exist.',
|
|
|
|
// View Project:
|
|
'all_branches' => 'All Branches',
|
|
'builds' => 'Builds',
|
|
'id' => 'ID',
|
|
'project' => 'Project',
|
|
'commit' => 'Commit',
|
|
'branch' => 'Branch',
|
|
'status' => 'Status',
|
|
'prev_link' => '« Prev',
|
|
'next_link' => 'Next »',
|
|
'public_key' => 'Public Key',
|
|
'delete_build' => 'Delete Build',
|
|
|
|
'webhooks' => 'Webhooks',
|
|
'webhooks_help_github' => 'To automatically build this project when new commits are pushed, add the URL below
|
|
as a new "Webhook" in the <a href="https://github.com/%s/settings/hooks">Webhooks
|
|
and Services</a> section of your GitHub repository.',
|
|
|
|
'webhooks_help_gitlab' => 'To automatically build this project when new commits are pushed, add the URL below
|
|
as a "WebHook URL" in the Web Hooks section of your GitLab repository.',
|
|
|
|
'webhooks_help_bitbucket' => 'To automatically build this project when new commits are pushed, add the URL below
|
|
as a "POST" service in the
|
|
<a href="https://bitbucket.org/%s/admin/services">
|
|
Services</a> section of your Bitbucket repository.',
|
|
|
|
// View Build
|
|
'build_x_not_found' => 'Build with ID %d does not exist.',
|
|
'build_n' => 'Build %d',
|
|
'rebuild_now' => 'Rebuild Now',
|
|
|
|
|
|
'committed_by_x' => 'Committed by %s',
|
|
'commit_id_x' => 'Commit: %s',
|
|
|
|
'chart_display' => 'This chart will display once the build has completed.',
|
|
|
|
'build' => 'Build',
|
|
'lines' => 'Lines',
|
|
'comment_lines' => 'Comment Lines',
|
|
'noncomment_lines' => 'Non-Comment Lines',
|
|
'logical_lines' => 'Logical Lines',
|
|
'lines_of_code' => 'Lines of Code',
|
|
'build_log' => 'Build Log',
|
|
'quality_trend' => 'Quality Trend',
|
|
'codeception_errors' => 'Codeception Errors',
|
|
'phpmd_warnings' => 'PHPMD Warnings',
|
|
'phpcs_warnings' => 'PHPCS Warnings',
|
|
'phpcs_errors' => 'PHPCS Errors',
|
|
'phplint_errors' => 'Lint Errors',
|
|
'phpunit_errors' => 'PHPUnit Errors',
|
|
'phpdoccheck_warnings' => 'Missing Docblocks',
|
|
'issues' => 'Issues',
|
|
|
|
'codeception' => 'Codeception',
|
|
'phpcpd' => 'PHP Copy/Paste Detector',
|
|
'phpcs' => 'PHP Code Sniffer',
|
|
'phpdoccheck' => 'Missing Docblocks',
|
|
'phpmd' => 'PHP Mess Detector',
|
|
'phpspec' => 'PHP Spec',
|
|
'phpunit' => 'PHP Unit',
|
|
'technical_debt' => 'Technical Debt',
|
|
|
|
'file' => 'File',
|
|
'line' => 'Line',
|
|
'class' => 'Class',
|
|
'method' => 'Method',
|
|
'message' => 'Message',
|
|
'start' => 'Start',
|
|
'end' => 'End',
|
|
'from' => 'From',
|
|
'to' => 'To',
|
|
'suite' => 'Suite',
|
|
'test' => 'Test',
|
|
'result' => 'Result',
|
|
'ok' => 'OK',
|
|
'took_n_seconds' => 'Took %d seconds',
|
|
'build_created' => 'Build Created',
|
|
'build_started' => 'Build Started',
|
|
'build_finished' => 'Build Finished',
|
|
|
|
// Users
|
|
'name' => 'Name',
|
|
'password_change' => 'Password (leave blank if you don\'t want to change)',
|
|
'save' => 'Save »',
|
|
'update_your_details' => 'Update your details',
|
|
'your_details_updated' => 'Your details have been updated.',
|
|
'add_user' => 'Add User',
|
|
'is_admin' => 'Is Admin?',
|
|
'yes' => 'Yes',
|
|
'no' => 'No',
|
|
'edit' => 'Edit',
|
|
'edit_user' => 'Edit User',
|
|
'delete_user' => 'Delete User',
|
|
'user_n_not_found' => 'User with ID %d does not exist.',
|
|
'is_user_admin' => 'Is this user an administrator?',
|
|
'save_user' => 'Save User',
|
|
|
|
// Settings:
|
|
'settings_saved' => 'Your settings have been saved.',
|
|
'settings_check_perms' => 'Your settings could not be saved, check the permissions of your config.yml file.',
|
|
'settings_cannot_write' => 'PHPCI cannot write to your config.yml file, settings may not be saved properly
|
|
until this is rectified.',
|
|
'settings_github_linked' => 'Your GitHub account has been linked.',
|
|
'settings_github_not_linked' => 'Your GitHub account could not be linked.',
|
|
'build_settings' => 'Build Settings',
|
|
'github_application' => 'GitHub Application',
|
|
'github_sign_in' => 'Before you can start using GitHub, you need to <a href="%s">sign in</a> and grant
|
|
PHPCI access to your account.',
|
|
'github_phpci_linked' => 'PHPCI is successfully linked to GitHub account.',
|
|
'github_where_to_find' => 'Where to find these...',
|
|
'github_where_help' => 'If you own the application you would like to use, you can find this information within your
|
|
<a href="https://github.com/settings/applications">applications</a> settings area.',
|
|
|
|
'email_settings' => 'Email Settings',
|
|
'email_settings_help' => 'Before PHPCI can send build status emails,
|
|
you need to configure your SMTP settings below.',
|
|
|
|
'application_id' => 'Application ID',
|
|
'application_secret' => 'Application Secret',
|
|
|
|
'smtp_server' => 'SMTP Server',
|
|
'smtp_port' => 'SMTP Port',
|
|
'smtp_username' => 'SMTP Username',
|
|
'smtp_password' => 'SMTP Password',
|
|
'from_email_address' => 'From Email Address',
|
|
'default_notification_address' => 'Default Notification Email Address',
|
|
'use_smtp_encryption' => 'Use SMTP Encryption?',
|
|
'none' => 'None',
|
|
'ssl' => 'SSL',
|
|
'tls' => 'TLS',
|
|
|
|
'failed_after' => 'Consider a build failed after',
|
|
'5_mins' => '5 Minutes',
|
|
'15_mins' => '15 Minutes',
|
|
'30_mins' => '30 Minutes',
|
|
'1_hour' => '1 Hour',
|
|
'3_hours' => '3 Hours',
|
|
|
|
// Plugins
|
|
'cannot_update_composer' => 'PHPCI cannot update composer.json for you as it is not writable.',
|
|
'x_has_been_removed' => '%s has been removed.',
|
|
'x_has_been_added' => '%s has been added to composer.json for you and will be installed next time
|
|
you run composer update.',
|
|
'enabled_plugins' => 'Enabled Plugins',
|
|
'provided_by_package' => 'Provided By Package',
|
|
'installed_packages' => 'Installed Packages',
|
|
'suggested_packages' => 'Suggested Packages',
|
|
'title' => 'Title',
|
|
'description' => 'Description',
|
|
'version' => 'Version',
|
|
'install' => 'Install »',
|
|
'remove' => 'Remove »',
|
|
'search_packagist_for_more' => 'Search Packagist for more packages',
|
|
'search' => 'Search »',
|
|
|
|
// Installer
|
|
'installation_url' => 'PHPCI 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_phpci' => 'Install PHPCI',
|
|
'welcome_to_phpci' => 'Welcome to PHPCI',
|
|
'please_answer' => 'Please answer the following questions:',
|
|
'phpci_php_req' => 'PHPCI requires at least PHP 5.3.8 to function.',
|
|
'extension_required' => 'Extension required: %s',
|
|
'function_required' => 'PHPCI needs to be able to call the %s() function. Is it disabled in php.ini?',
|
|
'requirements_not_met' => 'PHPCI 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_phpci_url' => 'Your PHPCI URL ("http://phpci.local" for example): ',
|
|
|
|
'enter_db_host' => 'Please enter your MySQL host [localhost]: ',
|
|
'enter_db_name' => 'Please enter your MySQL database name [phpci]: ',
|
|
'enter_db_user' => 'Please enter your MySQL username [phpci]: ',
|
|
'enter_db_pass' => 'Please enter your MySQL password: ',
|
|
'could_not_connect' => 'PHPCI could not connect to MySQL with the details provided. Please try again.',
|
|
'setting_up_db' => 'Setting up your database... ',
|
|
'user_created' => 'User account created!',
|
|
'failed_to_create' => 'PHPCI failed to create your admin account.',
|
|
'config_exists' => 'The PHPCI config file exists and is not empty.',
|
|
'update_instead' => 'If you were trying to update PHPCI, please use phpci:update instead.',
|
|
|
|
// Update
|
|
'update_phpci' => 'Update the database to reflect modified models.',
|
|
'updating_phpci' => 'Updating PHPCI database: ',
|
|
'not_installed' => 'PHPCI does not appear to be installed.',
|
|
'install_instead' => 'Please install PHPCI via phpci:install instead.',
|
|
|
|
// Poll Command
|
|
'poll_github' => 'Poll GitHub to check if we need to start a build.',
|
|
'no_token' => 'No GitHub token found',
|
|
'finding_projects' => 'Finding projects to poll',
|
|
'found_n_projects' => 'Found %d projects',
|
|
'last_commit_is' => 'Last commit to GitHub for %s is %s',
|
|
'adding_new_build' => 'Last commit is different to database, adding new build.',
|
|
'finished_processing_builds' => 'Finished processing builds.',
|
|
|
|
// Create Admin
|
|
'create_admin_user' => 'Create an admin user',
|
|
'incorrect_format' => 'Incorrect format',
|
|
|
|
// Run Command
|
|
'run_all_pending' => 'Run all pending PHPCI builds.',
|
|
'finding_builds' => 'Finding builds to process',
|
|
'found_n_builds' => 'Found %d builds',
|
|
'skipping_build' => 'Skipping Build %d - Project build already in progress.',
|
|
'marked_as_failed' => 'Build %d marked as failed due to timeout.',
|
|
|
|
// Builder
|
|
'missing_phpci_yml' => 'This project does not contain a phpci.yml file, or it is empty.',
|
|
'build_success' => 'BUILD SUCCESS',
|
|
'build_failed' => 'BUILD FAILED',
|
|
'removing_build' => 'Removing Build.',
|
|
'exception' => 'Exception: ',
|
|
'could_not_create_working' => 'Could not create a working copy.',
|
|
'working_copy_created' => 'Working copy created: %s',
|
|
'looking_for_binary' => 'Looking for binary: %s',
|
|
'found_in_path' => 'Found in %s: %s',
|
|
'running_plugin' => 'RUNNING PLUGIN: %s',
|
|
'plugin_success' => 'PLUGIN: SUCCESS',
|
|
'plugin_failed' => 'PLUGIN: FAILED',
|
|
'plugin_missing' => 'Plugin does not exist: %s',
|
|
'tap_version' => 'TapParser only supports TAP version 13',
|
|
'tap_error' => 'Invalid TAP string, number of tests does not match specified test count.',
|
|
|
|
// Build Plugins:
|
|
'no_tests_performed' => 'No tests have been performed.',
|
|
'could_not_find' => 'Could not find %s',
|
|
'no_campfire_settings' => 'No connection parameters given for Campfire plugin',
|
|
'failed_to_wipe' => 'Failed to wipe existing directory %s before copy',
|
|
'passing_build' => 'Passing Build',
|
|
'failing_build' => 'Failing Build',
|
|
'log_output' => 'Log Output: ',
|
|
'n_emails_sent' => '%d emails sent.',
|
|
'n_emails_failed' => '%d emails failed to send.',
|
|
'unable_to_set_env' => 'Unable to set environment variable',
|
|
'tag_created' => 'Tag created by PHPCI: %s',
|
|
'x_built_at_x' => '%PROJECT_TITLE% built at %BUILD_URI%',
|
|
'hipchat_settings' => 'Please define room and authToken for hipchat_notify plugin',
|
|
'irc_settings' => 'You must configure a server, room and nick.',
|
|
'invalid_command' => 'Invalid command',
|
|
'import_file_key' => 'Import statement must contain a \'file\' key',
|
|
'cannot_open_import' => 'Cannot open SQL import file: %s',
|
|
'unable_to_execute' => 'Unable to execute SQL file',
|
|
'phar_internal_error' => 'Phar Plugin Internal Error',
|
|
'build_file_missing' => 'Specified build file does not exist.',
|
|
'property_file_missing' => 'Specified property file does not exist.',
|
|
'could_not_process_report' => 'Could not process the report generated by this tool.',
|
|
'shell_not_enabled' => 'The shell plugin is not enabled. Please enable it via config.yml.'
|
|
);
|