diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-08 20:35:51 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-08 20:35:51 -0500 |
commit | 5c0b90bb298d53567c27be527c9caff16dd34f7f (patch) | |
tree | aa291653fbdf2a46a876f977736abe59a978ac38 /app/Template | |
parent | 647568cdddeaebdb0bd78cec53da9c8d6ac367a3 (diff) |
Change wording for project status (use "closed" instead of "inactive")
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/project/sidebar.php | 4 | ||||
-rw-r--r-- | app/Template/project_list/show.php | 4 | ||||
-rw-r--r-- | app/Template/project_status/disable.php | 4 | ||||
-rw-r--r-- | app/Template/project_status/enable.php | 4 | ||||
-rw-r--r-- | app/Template/project_view/show.php | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php index 812eb351..9775c7a1 100644 --- a/app/Template/project/sidebar.php +++ b/app/Template/project/sidebar.php @@ -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'])): ?> diff --git a/app/Template/project_list/show.php b/app/Template/project_list/show.php index 9dfae24c..9a804588 100644 --- a/app/Template/project_list/show.php +++ b/app/Template/project_list/show.php @@ -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> diff --git a/app/Template/project_status/disable.php b/app/Template/project_status/disable.php index d607cedb..f2bd7626 100644 --- a/app/Template/project_status/disable.php +++ b/app/Template/project_status/disable.php @@ -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( diff --git a/app/Template/project_status/enable.php b/app/Template/project_status/enable.php index fd8f8c72..c8518993 100644 --- a/app/Template/project_status/enable.php +++ b/app/Template/project_status/enable.php @@ -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( diff --git a/app/Template/project_view/show.php b/app/Template/project_view/show.php index 7dee08be..8105d708 100644 --- a/app/Template/project_view/show.php +++ b/app/Template/project_view/show.php @@ -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> |