Change wording for project status (use "closed" instead of "inactive")

This commit is contained in:
Frederic Guillot
2017-02-08 20:35:51 -05:00
parent 647568cddd
commit 5c0b90bb29
32 changed files with 210 additions and 86 deletions

View File

@@ -50,10 +50,10 @@
</li>
<?php if ($project['is_active']): ?>
<li>
<?= $this->modal->confirmLink(t('Disable'), 'ProjectStatusController', 'confirmDisable', array('project_id' => $project['id'])) ?>
<?= $this->modal->confirmLink(t('Close this project'), 'ProjectStatusController', 'confirmDisable', array('project_id' => $project['id'])) ?>
<?php else: ?>
<li>
<?= $this->modal->confirmLink(t('Enable'), 'ProjectStatusController', 'confirmEnable', array('project_id' => $project['id'])) ?>
<?= $this->modal->confirmLink(t('Open this project'), 'ProjectStatusController', 'confirmEnable', array('project_id' => $project['id'])) ?>
<?php endif ?>
</li>
<?php if ($this->user->hasProjectAccess('ProjectStatusController', 'remove', $project['id'])): ?>

View File

@@ -48,9 +48,9 @@
</td>
<td>
<?php if ($project['is_active']): ?>
<?= t('Active') ?>
<?= t('Open') ?>
<?php else: ?>
<?= t('Inactive') ?>
<?= t('Closed') ?>
<?php endif ?>
</td>
<td>

View File

@@ -1,10 +1,10 @@
<div class="page-header">
<h2><?= t('Project activation') ?></h2>
<h2><?= t('Close a project') ?></h2>
</div>
<div class="confirm">
<p class="alert alert-info">
<?= t('Do you really want to disable this project: "%s"?', $project['name']) ?>
<?= t('Do you really want to close this project: "%s"?', $project['name']) ?>
</p>
<?= $this->modal->confirmButtons(

View File

@@ -1,10 +1,10 @@
<div class="page-header">
<h2><?= t('Project activation') ?></h2>
<h2><?= t('Reopen a project') ?></h2>
</div>
<div class="confirm">
<p class="alert alert-info">
<?= t('Do you really want to enable this project: "%s"?', $project['name']) ?>
<?= t('Do you really want to reopen this project: "%s"?', $project['name']) ?>
</p>
<?= $this->modal->confirmButtons(

View File

@@ -2,7 +2,7 @@
<h2><?= t('Summary') ?></h2>
</div>
<ul class="panel">
<li><strong><?= $project['is_active'] ? t('Active') : t('Inactive') ?></strong></li>
<li><strong><?= $project['is_active'] ? t('This project is open') : t('This project is closed') ?></strong></li>
<?php if ($project['owner_id'] > 0): ?>
<li><?= t('Project owner: ') ?><strong><?= $this->text->e($project['owner_name'] ?: $project['owner_username']) ?></strong></li>