Fixed for languages

This commit is contained in:
Dmitry Khomutov 2017-01-06 22:12:50 +07:00
parent 69302adf2b
commit ae90538a38
20 changed files with 83 additions and 91 deletions

View file

@ -10,7 +10,7 @@ Configuration
* **config** - Required - Can be either a single string pointing to a Codeception configuration file, or an array of configuration file paths. By default this is called `codeception.yml` and will be in the root of your project.
* **args** - Optional - The string of arguments to be passed to the run command.**Important**, due to the assumption made on line [132](https://github.com/Block8/PHPCI/blob/master/PHPCI/Plugin/Codeception.php#L132) regarding the value of `--xml` being the next argument which will not be correct if the user provides arguments using this config param, you must specify `report.xml` before any user input arguments to satisfy the report processing on line [146](https://github.com/Block8/PHPCI/blob/master/PHPCI/Plugin/Codeception.php#L146)
* **args** - Optional - The string of arguments to be passed to the run command.**Important**, due to the assumption made on line 132 regarding the value of `--xml` being the next argument which will not be correct if the user provides arguments using this config param, you must specify `report.xml` before any user input arguments to satisfy the report processing on line 146.
* **path** - Optional - The path from the root of your project to the root of the codeception _output directory

View file

@ -563,3 +563,7 @@ h6,
#phpunit-data .error td { background: none; color: #f56954; }
#phpunit-data .skipped td { background: none; color: #e08e0b; }
#phpunit-data .todo td { background: none; color: #00c0ef; }
.visible-line-breaks {
white-space: pre-wrap;
}

View file

@ -8,7 +8,7 @@ var phpunitPlugin = ActiveBuild.UiPlugin.extend({
rendered: false,
statusMap: {
success : 'ok',
fail: 'remove',
failed: 'remove',
error: 'warning-sign',
todo: 'info-sign',
skipped: 'exclamation-sign'
@ -62,15 +62,19 @@ var phpunitPlugin = ActiveBuild.UiPlugin.extend({
return;
}
var counts = { success: 0, fail: 0, error: 0, skipped: 0, todo: 0 }, total = 0;
var counts = { success: 0, failed: 0, error: 0, skipped: 0, todo: 0 }, total = 0;
for (var i in tests) {
var severity = tests[i].severity || (tests[i].pass ? 'success' : 'fail'),
var severity = tests[i].severity || (tests[i].pass ? 'success' : 'failed'),
label = ('success' == severity) ? 'success' : (
('error' == severity) ? 'danger' : 'warning'
);
if ('fail' === severity) {
severity = 'failed';
}
var status = $('<td><span class="label label-' + label + '">' + severity + '</span></td>'),
var status = $('<td><span class="label label-' + label + '">'+Lang.get(severity)+'</span></td>'),
content = $('<td></td>'),
trace = $('<td></td>'),
message = $('<div class="visible-line-breaks"></div>').appendTo(content),

View file

@ -84,7 +84,6 @@ PHP Censor',
'pending' => 'Venter',
'running' => 'Kører',
'success' => 'Succes',
'successful' => 'Lykkedes',
'failed' => 'Fejlede',
'manual_build' => 'Manuelt Build',

View file

@ -84,7 +84,6 @@ PHP Censor',
'pending' => 'Ausstehend',
'running' => 'Wird ausgeführt',
'success' => 'Erfolg',
'successful' => 'Erfolgreich',
'failed' => 'Fehlgeschlagen',
'manual_build' => 'Manueller Build',

View file

@ -84,7 +84,6 @@ PHP Censor',
'pending' => 'Σε εκκρεμότητα',
'running' => 'Τρέχοντα',
'success' => 'Επιτυχία',
'successful' => 'Επιτυχής',
'failed' => 'Αποτυχία',
'manual_build' => 'Χειροκίνητη κατασκευή',

View file

@ -87,8 +87,8 @@ PHP Censor',
'pending' => 'Pending',
'running' => 'Running',
'success' => 'Success',
'successful' => 'Successful',
'failed' => 'Failed',
'error' => 'Error',
'manual_build' => 'Manual Build',
// Add/Edit Project:

View file

@ -83,7 +83,6 @@ PHP Censor',
'pending' => 'Pediente',
'running' => 'Ejecutando',
'success' => 'Éxito',
'successful' => 'Exitoso',
'failed' => 'Falló',
'manual_build' => 'Build Manual',

View file

@ -84,7 +84,6 @@ PHP Censor',
'pending' => 'En attente',
'running' => 'En cours',
'success' => 'Terminé',
'successful' => 'Réussi',
'failed' => 'Échoué',
'manual_build' => 'Build manuel',

View file

@ -82,7 +82,6 @@ PHP Censor',
'pending' => 'In attesa',
'running' => 'In corso',
'success' => 'Successo',
'successful' => 'Con successo',
'failed' => 'Fallita',
'manual_build' => 'Build Manuale',

View file

@ -84,7 +84,6 @@ PHP Censor',
'pending' => 'In afwachting',
'running' => 'Lopende',
'success' => 'Succes',
'successful' => 'Succesvol',
'failed' => 'Gefaald',
'manual_build' => 'Manuele build',

View file

@ -84,7 +84,6 @@ PHP Censor',
'pending' => 'Oczekujące',
'running' => 'W toku',
'success' => 'Sukces',
'successful' => 'Zakończone sukcesem',
'failed' => 'Nieudane',
'manual_build' => 'Budowanie Manualne',

View file

@ -12,7 +12,7 @@ $strings = array(
'language' => 'Idioma',
// Log in:
'log_in_to_phpci' => 'Acessar o PHPCI',
'log_in_to_app' => 'Acessar o PHP Censor',
'login_error' => 'Email ou senha incorretos',
'forgotten_password_link' => 'Perdeu sua senha?',
'reset_emailed' => 'We\'ve emailed you a link to reset your password.',
@ -25,7 +25,7 @@ $strings = array(
'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.
You have received this email because you, or someone else, has requested a password reset for PHP Censor.
If this was you, please click the following link to reset your password: %ssession/reset-password/%d/%s
@ -33,9 +33,9 @@ Otherwise, please ignore this email and no action will be taken.
Thank you,
PHPCI',
PHP Censor',
'reset_email_title' => 'PHPCI Password Reset for %s',
'reset_email_title' => 'PHP Censor Password Reset for %s',
'reset_invalid' => 'Invalid password reset request.',
'email_address' => 'Endereço de e-mail',
'login' => 'Login / Email Address',
@ -83,7 +83,6 @@ PHPCI',
'pending' => 'Pendente',
'running' => 'Correndo',
'success' => 'Sucesso',
'successful' => 'Bem sucedido',
'failed' => 'Fracassado',
'manual_build' => 'Compilação manual',
@ -108,8 +107,8 @@ PHPCI',
'project_title' => 'Titulo do projeto',
'project_private_key' => 'Chave privada usada para acessar o repositório
(Deixe em branco para controles remotos locais e/ou anônimos)',
'build_config' => 'PHPCI construir configuração para este projeto
(if you cannot add a phpci.yml file in the project repository)',
'build_config' => 'PHP Censor construir configuração para este projeto
(if you cannot add a .php-censor.yml (.phpci.yml|phpci.yml) file in the project repository)',
'default_branch' => 'Nome padrão do branch',
'allow_public_status' => 'Habilitar página de status pública e imagem para este projeto?',
'archived' => 'Arquivado',
@ -241,21 +240,21 @@ PHPCI',
// 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
'settings_cannot_write' => 'PHP Censor 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.',
PHP Censor access to your account.',
'github_linked' => 'PHP Censor 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,
'email_settings_help' => 'Before PHP Censor can send build status emails,
you need to configure your SMTP settings below.',
'application_id' => 'Application ID',
@ -280,7 +279,7 @@ PHPCI',
'3_hours' => '3 Hours',
// Plugins
'cannot_update_composer' => 'PHPCI cannot update composer.json for you as it is not writable.',
'cannot_update_composer' => 'PHP Censor 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.',
@ -310,7 +309,7 @@ PHPCI',
'stage_fixed' => 'Fixed',
// Installer
'installation_url' => 'PHPCI Installation URL',
'installation_url' => 'PHP Censor Installation URL',
'db_host' => 'Database Host',
'db_name' => 'Database Name',
'db_user' => 'Database Username',
@ -319,37 +318,37 @@ PHPCI',
'admin_pass' => 'Admin Password',
'admin_email' => 'Admin Email Address',
'config_path' => 'Config File Path',
'install_phpci' => 'Install PHPCI',
'welcome_to_phpci' => 'Welcome to PHPCI',
'install_app' => 'Install PHP Censor',
'welcome_to_app' => 'Welcome to PHP Censor',
'please_answer' => 'Please answer the following questions:',
'phpci_php_req' => 'PHPCI requires at least PHP 5.3.8 to function.',
'app_php_req' => 'PHP Censor 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.
'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_phpci_url' => 'Your PHPCI URL ("http://phpci.local" for example): ',
'enter_app_url' => 'Your PHP Censor URL ("http://php-censor.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_name' => 'Please enter your MySQL database name [php-censor-db]: ',
'enter_db_user' => 'Please enter your MySQL username [php-censor-user]: ',
'enter_db_pass' => 'Please enter your MySQL password: ',
'could_not_connect' => 'PHPCI could not connect to MySQL with the details provided. Please try again.',
'could_not_connect' => 'PHP Censor 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.',
'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_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.',
'update_app' => 'Update the database to reflect modified models.',
'updating_app' => 'Updating PHP Censor database: ',
'not_installed' => 'PHP Censor does not appear to be installed.',
'install_instead' => 'Please install PHP Censor via php-censor:install instead.',
// Poll Command
'poll_github' => 'Poll GitHub to check if we need to start a build.',
@ -370,18 +369,18 @@ PHPCI',
'commit_id_option' => 'Commit ID to build',
'branch_name_option' => 'Branch to build',
'add_to_queue_failed' => 'Build created successfully, but failed to add to build queue. This usually happens
when PHPCI is set to use a beanstalkd server that does not exist,
when PHP Censor is set to use a beanstalkd server that does not exist,
or your beanstalkd server has stopped.',
// Run Command
'run_all_pending' => 'Run all pending PHPCI builds.',
'run_all_pending' => 'Run all pending PHP Censor 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.',
'missing_app_yml' => 'This project does not contain a .php-censor.yml (.phpci.yml|phpci.yml) file, or it is empty.',
'build_success' => 'BUILD SUCCESS',
'build_failed' => 'BUILD FAILED',
'removing_build' => 'Removing Build.',
@ -408,7 +407,7 @@ PHPCI',
'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',
'tag_created' => 'Tag created by PHP Censor: %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.',

View file

@ -84,9 +84,9 @@ PHP Censor',
'latest_builds' => 'Последние сборки',
'pending' => 'Ожидает',
'running' => 'Запущена',
'success' => 'Успех',
'successful' => 'Успешно',
'success' => 'Успешно',
'failed' => 'Провал',
'error' => 'Ошибка',
'manual_build' => 'Запущена вручную',
// Add/Edit Project:

View file

@ -84,7 +84,6 @@ PHP Censor',
'pending' => 'Очікує',
'running' => 'Виконується',
'success' => 'Успіх',
'successful' => 'Успішно',
'failed' => 'Провалена',
'manual_build' => 'Ручна збірка',

View file

@ -12,7 +12,7 @@ $strings = array(
'language' => '语言选择',
// Log in:
'log_in_to_phpci' => '登录 PHPCI',
'log_in_to_app' => '登录 PHP Censor',
'login_error' => '邮箱或密码错误',
'forgotten_password_link' => '忘记密码?',
'reset_emailed' => '已发送重置密码邮件.',
@ -25,7 +25,7 @@ $strings = array(
'reset_no_user_exists' => '不存该该邮箱用户,请检查后重试!',
'reset_email_body' => '您好 %s,
您收到这封邮件是因为您或者别人发起了来自PHPCI的密码重置请求。
您收到这封邮件是因为您或者别人发起了来自PHP Censor的密码重置请求。
如果确实是您发起的,请点击链接去重置您的密码:%ssession/reset-password/%d/%s
@ -33,9 +33,9 @@ $strings = array(
多谢,
PHPCI',
PHP Censor',
'reset_email_title' => '给 %s 来自 PHPCI 的密码重置邮件',
'reset_email_title' => '给 %s 来自 PHP Censor 的密码重置邮件',
'reset_invalid' => '密码重置请求失败!',
'email_address' => '邮箱地址',
'password' => '密码',
@ -82,7 +82,6 @@ PHPCI',
'pending' => '等待中',
'running' => '构建中',
'success' => '成功',
'successful' => '成功',
'failed' => '失败',
'manual_build' => 'Manual Build',
@ -108,8 +107,8 @@ PHPCI',
'project_title' => '项目标题',
'project_private_key' => '访问仓库私有秘钥
(本地或公共仓库可为空)',
'build_config' => '该项目 PHPCI 构建配置文件
(如果您无法在该项目仓库创建 phpci.yml 文件)',
'build_config' => '该项目 PHP Censor 构建配置文件
(如果您无法在该项目仓库创建 .php-censor.yml (.phpci.yml|phpci.yml) 文件)',
'default_branch' => '默认分支名称',
'allow_public_status' => '启用此项目的公共状态页和图像?',
'archived' => '归档',
@ -239,18 +238,18 @@ PHPCI',
// Settings:
'settings_saved' => '您的设置已经保存。',
'settings_check_perms' => '权限不足,您的设置无法保存, 请检查 config.yml 文件.',
'settings_cannot_write' => 'PHPCI 无法写入 config.yml 文件, 在这个问题解决前设置可能无法正常保存',
'settings_cannot_write' => 'PHP Censor 无法写入 config.yml 文件, 在这个问题解决前设置可能无法正常保存',
'settings_github_linked' => '您的 GitHub 账户已经连接。',
'settings_github_not_linked' => '您的 GitHub 无法连接。',
'build_settings' => '构建设置',
'github_application' => 'GitHub Application',
'github_sign_in' => '在使用您的 GitHub 账号之前, 您需要登录 GitHub , 并允许 PHPCI 访问您的账户。',
'github_phpci_linked' => 'PHPCI 成功连接到您的 GitHub 账户。',
'github_sign_in' => '在使用您的 GitHub 账号之前, 您需要登录 GitHub , 并允许 PHP Censor 访问您的账户。',
'github_linked' => 'PHP Censor 成功连接到您的 GitHub 账户。',
'github_where_to_find' => '在哪里可以找到...',
'github_where_help' => '如果您想使用您自己的应用, 您可以在<a href="https://github.com/settings/applications">applications</a> 的 setting 中 找到相关信息。',
'email_settings' => '邮箱设置',
'email_settings_help' => 'PHPCI在发送构建状态的邮件之前,您需要配置您的SMTP设置如下。',
'email_settings_help' => 'PHP Censor在发送构建状态的邮件之前,您需要配置您的SMTP设置如下。',
'application_id' => 'Application ID',
'application_secret' => 'Application Secret',
@ -274,7 +273,7 @@ PHPCI',
'3_hours' => '3 小时',
// Plugins
'cannot_update_composer' => '由于 composer.json 文件不可写 PHPCI 无法为您更新该文件, ',
'cannot_update_composer' => '由于 composer.json 文件不可写 PHP Censor 无法为您更新该文件, ',
'x_has_been_removed' => '%s 已经移除',
'x_has_been_added' => '%s 已经为您添加至 composer.json , 当您下次执行 composer update 时相关库将会安装',
'enabled_plugins' => '已启用插件',
@ -303,7 +302,7 @@ PHPCI',
'stage_fixed' => 'Fixed',
// Installer
'installation_url' => 'PHPCI Installation URL',
'installation_url' => 'PHP Censor Installation URL',
'db_host' => 'Database Host',
'db_name' => 'Database Name',
'db_user' => 'Database Username',
@ -312,37 +311,37 @@ PHPCI',
'admin_pass' => 'Admin Password',
'admin_email' => 'Admin Email Address',
'config_path' => 'Config File Path',
'install_phpci' => 'Install PHPCI',
'welcome_to_phpci' => 'Welcome to PHPCI',
'install_app' => 'Install PHP Censor',
'welcome_to_app' => 'Welcome to PHP Censor',
'please_answer' => 'Please answer the following questions:',
'phpci_php_req' => 'PHPCI requires at least PHP 5.3.8 to function.',
'app_php_req' => 'PHP Censor 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.
'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_phpci_url' => 'Your PHPCI URL ("http://phpci.local" for example): ',
'enter_app_url' => 'Your PHP Censor URL ("http://php-censor.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_name' => 'Please enter your MySQL database name [php-censor-db]: ',
'enter_db_user' => 'Please enter your MySQL username [php-censor-user]: ',
'enter_db_pass' => 'Please enter your MySQL password: ',
'could_not_connect' => 'PHPCI could not connect to MySQL with the details provided. Please try again.',
'could_not_connect' => 'PHP Censor 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.',
'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_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.',
'update_app' => 'Update the database to reflect modified models.',
'updating_app' => 'Updating PHP Censor database: ',
'not_installed' => 'PHP Censor does not appear to be installed.',
'install_instead' => 'Please install PHP Censor via php-censor:install instead.',
// Poll Command
'poll_github' => 'Poll GitHub to check if we need to start a build.',
@ -363,18 +362,18 @@ PHPCI',
'commit_id_option' => 'Commit ID to build',
'branch_name_option' => 'Branch to build',
'add_to_queue_failed' => 'Build created successfully, but failed to add to build queue. This usually happens
when PHPCI is set to use a beanstalkd server that does not exist,
when PHP Censor is set to use a beanstalkd server that does not exist,
or your beanstalkd server has stopped.',
// Run Command
'run_all_pending' => 'Run all pending PHPCI builds.',
'run_all_pending' => 'Run all pending PHP Censor 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.',
'missing_app_yml' => 'This project does not contain a .php-censor.yml (.phpci.yml|phpci.yml) file, or it is empty.',
'build_success' => 'BUILD SUCCESS',
'build_failed' => 'BUILD FAILED',
'removing_build' => 'Removing Build.',
@ -401,7 +400,7 @@ PHPCI',
'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',
'tag_created' => 'Tag created by PHP Censor: %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.',

View file

@ -13,7 +13,7 @@
<div>
<p>
Your commit <strong><?php print $build->getCommitId(); ?></strong> generated a
<?php print $build->isSuccessful() ? 'successful' : 'failed'; ?> build in project
<?php print $build->isSuccessful() ? 'success' : 'failed'; ?> build in project
<strong><?php print $project->getTitle(); ?></strong>.
</p>
<?php print $content; ?>

View file

@ -42,7 +42,7 @@
case \PHPCensor\Model\Build::STATUS_SUCCESS:
$updated = $build->getFinished();
$label = Lang::get('successful');
$label = Lang::get('success');
$color = 'green';
break;

View file

@ -16,11 +16,6 @@
<link href="<?php print APP_URL; ?>assets/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="<?php print APP_URL; ?>assets/vendor/ion-icons/css/ionicons.min.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.visible-line-breaks {
white-space: pre-wrap;
}
</style>
<script>
var APP_URL = '<?php print APP_URL; ?>';
var LANGUAGE = <?php print json_encode(Lang::getLanguage()); ?>;

View file

@ -305,7 +305,7 @@ class EmailTest extends \PHPUnit_Framework_TestCase
$this->testedEmailPlugin->execute();
$this->assertContains('Passing', $this->message['subject']);
$this->assertContains('successful', $this->message['body']);
$this->assertContains('success', $this->message['body']);
}
public function testMailFailingBuildHaveStatus()