Fixed for languages
This commit is contained in:
parent
69302adf2b
commit
ae90538a38
20 changed files with 83 additions and 91 deletions
|
|
@ -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; ?>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
case \PHPCensor\Model\Build::STATUS_SUCCESS:
|
||||
$updated = $build->getFinished();
|
||||
$label = Lang::get('successful');
|
||||
$label = Lang::get('success');
|
||||
$color = 'green';
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -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()); ?>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue