= t('Task count') ?> = $swimlane['nb_tasks'] ?>/= $swimlane['task_limit'] ?>)
- (= $swimlane['nb_tasks'] ?>)
+ (= t('Task count') ?> = $swimlane['nb_tasks'] ?>)
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 9be7efd5f..9982da423 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -35,7 +35,7 @@
- = $this->task->renderReference($task) ?>
+ = t('Reference') ?> = $this->task->renderReference($task) ?>
@@ -55,7 +55,7 @@
- = $this->text->e($task['time_spent']) ?>/= $this->text->e($task['time_estimated']) ?>h
+ = t('Time spent and estimated') ?> = $this->text->e($task['time_spent']) ?>/= $this->text->e($task['time_estimated']) ?>h
@@ -124,8 +124,8 @@
- = $this->dt->age($task['date_creation']) ?>
- = $this->dt->age($task['date_moved']) ?>
+ = t('Task age in days') ?> = $this->dt->age($task['date_creation']) ?>
+ = t('Days in this column') ?> = $this->dt->age($task['date_moved']) ?>
= t('Closed') ?>
diff --git a/app/Template/dashboard/overview.php b/app/Template/dashboard/overview.php
index a27dccc8c..a2287e502 100644
--- a/app/Template/dashboard/overview.php
+++ b/app/Template/dashboard/overview.php
@@ -43,7 +43,7 @@
- = $column['nb_open_tasks'] ?>
+ = t('Task count') ?> = $column['nb_open_tasks'] ?>
= $this->text->e($column['title']) ?>
diff --git a/app/Template/header/title.php b/app/Template/header/title.php
index 80668e9b7..848ca6159 100644
--- a/app/Template/header/title.php
+++ b/app/Template/header/title.php
@@ -8,7 +8,7 @@
= $this->text->e($title) ?>
- (= intval($project['nb_active_tasks']) ?> / = $this->text->e($project['task_limit']) ?>)
+ (= intval($project['nb_active_tasks']) ?> / = t('Task limit') ?> = $this->text->e($project['task_limit']) ?>)
diff --git a/app/Template/project_overview/columns.php b/app/Template/project_overview/columns.php
index f1472ff3d..22b0ffd8f 100644
--- a/app/Template/project_overview/columns.php
+++ b/app/Template/project_overview/columns.php
@@ -1,7 +1,7 @@
- = $column['nb_open_tasks'] ?>
+ = t('Task count') ?> = $column['nb_open_tasks'] ?>
= $this->text->e($column['title']) ?>
diff --git a/app/Template/project_user_overview/roles.php b/app/Template/project_user_overview/roles.php
index f53e7fa3b..1d338400f 100644
--- a/app/Template/project_user_overview/roles.php
+++ b/app/Template/project_user_overview/roles.php
@@ -20,7 +20,7 @@
- = $column['nb_open_tasks'] ?>
+ = t('Task count') ?> = $column['nb_open_tasks'] ?>
= $this->text->e($column['title']) ?>
|
diff --git a/app/Template/task_external_link/table.php b/app/Template/task_external_link/table.php
index 98368d635..09445c586 100644
--- a/app/Template/task_external_link/table.php
+++ b/app/Template/task_external_link/table.php
@@ -29,7 +29,7 @@
= $this->text->e($link['type']) ?>
- = $this->text->e($link['title']) ?>
+ = $this->text->e($link['title']) ?> (= $this->text->e($link['url']) ?>)
|
= $this->text->e($link['dependency_label']) ?>
diff --git a/app/Template/task_list/task_icons.php b/app/Template/task_list/task_icons.php
index dda23f614..c92afe249 100644
--- a/app/Template/task_list/task_icons.php
+++ b/app/Template/task_list/task_icons.php
@@ -1,7 +1,7 @@
- = $this->task->renderReference($task) ?>
+ = t('Reference') ?> = $this->task->renderReference($task) ?>
@@ -19,7 +19,7 @@
- = $this->text->e($task['time_spent']) ?>/= $this->text->e($task['time_estimated']) ?>h
+ = t('Time spent and estimated') ?> = $this->text->e($task['time_spent']) ?>/= $this->text->e($task['time_estimated']) ?>h
@@ -87,12 +87,12 @@
= $this->app->tooltipLink(' ', $this->url->href('BoardTooltipController', 'description', array('task_id' => $task['id'], 'project_id' => $task['project_id']))) ?>
- (= $task['position'] ?>)
+ (= t('Position') ?> = $task['position'] ?>)
- = $this->dt->age($task['date_creation']) ?>
- = $this->dt->age($task['date_moved']) ?>
+ = t('Task age in days') ?> = $this->dt->age($task['date_creation']) ?>
+ = t('Days in this column') ?> = $this->dt->age($task['date_moved']) ?>
= t('Closed') ?>
diff --git a/tests/units/Helper/TaskHelperTest.php b/tests/units/Helper/TaskHelperTest.php
index d2bd6ea92..e087601ce 100644
--- a/tests/units/Helper/TaskHelperTest.php
+++ b/tests/units/Helper/TaskHelperTest.php
@@ -18,12 +18,12 @@ class TaskHelperTest extends Base
$helper = new TaskHelper($this->container);
$this->assertEquals(
- ' P2',
+ ' Task priority P2',
$helper->renderPriority(2)
);
$this->assertEquals(
- ' -P6',
+ ' Task priority -P6',
$helper->renderPriority(-6)
);
}
|