This commit is contained in:
Dmitry Khomutov 2017-02-09 22:15:30 +07:00
parent 6cff08f073
commit ea5044bf9b
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
17 changed files with 6 additions and 19 deletions

View file

@ -293,5 +293,4 @@ du kører composer update.',
'passing_build' => 'Succesfuldt Build',
'failing_build' => 'Fejlet Build',
'log_output' => 'Log-output:',
'shell_not_enabled' => 'Shell-plugin er ikke aktiveret. Aktivér det via config.yml.'
];

View file

@ -316,7 +316,6 @@ generiert. Um es zu verwenden, fügen Sie einfach den folgenden Public Key im Ab
'passing_build' => 'Durchlaufender Build',
'failing_build' => 'Fehlschlagender Build',
'log_output' => 'Protokollausgabe: ',
'shell_not_enabled' => 'Das Shell-Plugin ist nicht aktiviert. Bitte aktivieren Sie es via config.yml.',
// Error Levels:
'critical' => 'Kritisch',

View file

@ -295,5 +295,4 @@ Services</a> του Bitbucket αποθετηρίου σας.',
'passing_build' => 'Επιτυχημένη κατασκευή',
'failing_build' => 'Αποτυχημένη κατασκευή',
'log_output' => 'Σύνδεση εξόδου:',
'shell_not_enabled' => 'Το πρόσθετο για το κέλυφος δεν είναι ενεργοποιημένο. Παρακαλούμε ενεργοποιήστε το μέσω του αρχείου config.yml.'
];

View file

@ -350,7 +350,6 @@ PHP Censor',
'passing_build' => 'Passing Build',
'failing_build' => 'Failing Build',
'log_output' => 'Log Output: ',
'shell_not_enabled' => 'The shell plugin is not enabled. Please enable it via config.yml.',
// Error Levels:

View file

@ -289,5 +289,4 @@ PHP Censor',
'passing_build' => 'Build Exitoso',
'failing_build' => 'Build Fallido',
'log_output' => 'Log de Salida: ',
'shell_not_enabled' => 'El plugin shell no está habilitado. Por favor, habilitalo desde config.yml.'
];

View file

@ -365,8 +365,9 @@ PHP Censor',
'failed_allowed' => 'Autorisé',
// Build Plugins:
'log_output' => 'Sortie de log : ',
'shell_not_enabled' => 'Le plugn shell n\'est pas activé. Merci de l\'activer via le fichier config.yml.',
'passing_build' => 'Build réussi',
'failing_build' => 'Build en echec',
'log_output' => 'Sortie de log : ',
// Error Levels:
'critical' => 'Critique',

View file

@ -295,5 +295,4 @@ PHP Censor',
'passing_build' => 'Build passata',
'failing_build' => 'Build fallita',
'log_output' => 'Log: ',
'shell_not_enabled' => 'Il plugin shell non è attivato. Per favore attivalo tramite config.yml.'
];

View file

@ -295,5 +295,4 @@ keer je composer update uitvoert.',
'passing_build' => 'Slagende build',
'failing_build' => 'Falende build',
'log_output' => 'Log output:',
'shell_not_enabled' => 'De shell plugin is niet ingeschakeld, schakel deze a.u.b. in via het config.yml bestand.'
];

View file

@ -296,5 +296,4 @@ wywołaniu polecenia composer update.',
'passing_build' => 'Pomijanie Budowania',
'failing_build' => 'Niepowodzenie Budowania',
'log_output' => 'Log Wyjściowy:',
'shell_not_enabled' => 'Plugin powłoki jest nieaktywny. Aktywuj go poprzez config.yml.'
];

View file

@ -317,7 +317,6 @@ PHP Censor',
'passing_build' => 'Passing Build',
'failing_build' => 'Failing Build',
'log_output' => 'Log Output: ',
'shell_not_enabled' => 'The shell plugin is not enabled. Please enable it via config.yml.',
// Error Levels:
'critical' => 'Critical',

View file

@ -335,7 +335,6 @@ PHP Censor',
'passing_build' => 'Успех сборки',
'failing_build' => 'Провал сборки',
'log_output' => 'Вывод лога: ',
'shell_not_enabled' => 'Плагин shell не включен. Пожалуйста, включите его в файле config.yml.',
// Error Levels:
'critical' => 'Критичный',

View file

@ -295,5 +295,4 @@ PHP Censor',
'passing_build' => 'Успішно збірка',
'failing_build' => 'Невдала збірка',
'log_output' => 'Вивід лога:',
'shell_not_enabled' => 'Плагін shell не увімкнений. Будь ласка, увімкніть його через config.yml.'
];

View file

@ -310,7 +310,6 @@ PHP Censor',
'passing_build' => 'Passing Build',
'failing_build' => 'Failing Build',
'log_output' => 'Log Output: ',
'shell_not_enabled' => 'The shell plugin is not enabled. Please enable it via config.yml.',
// Error Levels:
'critical' => 'Critical',

View file

@ -10,7 +10,6 @@
namespace PHPCensor\Plugin;
use PHPCensor\Builder;
use PHPCensor\Helper\Lang;
use PHPCensor\Model\Build;
use PHPCensor\Plugin\Util\TestResultParsers\Codeception as Parser;
use PHPCensor\Plugin;

View file

@ -136,8 +136,7 @@ class Executor
foreach ($plugins as $plugin => $options) {
$this->logger->log("\n" .
sprintf('RUNNING PLUGIN: %s', Lang::get($plugin)) . ' (' .
'Stage' . ': ' .
Lang::get('stage_' . $stage) . ')'
'Stage' . ': ' . ucfirst($stage) . ')'
);
$this->setPluginStatus($stage, $plugin, Build::STATUS_RUNNING);

View file

@ -69,7 +69,7 @@ class BuildService
$build->setCommitId($commitId);
} else {
$build->setCommitId('Manual');
$build->setCommitMessage(Lang::get('manual_build'));
$build->setCommitMessage('Manual');
}
if (!is_null($branch)) {

View file

@ -54,7 +54,7 @@ class BuildServiceTest extends \PHPUnit_Framework_TestCase
$this->assertNull($returnValue->getStarted());
$this->assertNull($returnValue->getFinished());
$this->assertNull($returnValue->getLog());
$this->assertEquals(\PHPCensor\Helper\Lang::get('manual_build'), $returnValue->getCommitMessage());
$this->assertEquals('Manual', $returnValue->getCommitMessage());
$this->assertNull($returnValue->getCommitterEmail());
$this->assertNull($returnValue->getExtra());
$this->assertEquals('master', $returnValue->getBranch());