From 92510eefb15fe6c140b295487a1e0830d29e2029 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 22 Mar 2015 19:20:17 -0400 Subject: Improve and translate pull-request --- app/Action/TaskMoveColumnAssigned.php | 7 +++---- app/Action/TaskMoveColumnUnAssigned.php | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'app/Action') diff --git a/app/Action/TaskMoveColumnAssigned.php b/app/Action/TaskMoveColumnAssigned.php index 0f47ee19..decf4b01 100644 --- a/app/Action/TaskMoveColumnAssigned.php +++ b/app/Action/TaskMoveColumnAssigned.php @@ -34,8 +34,8 @@ class TaskMoveColumnAssigned extends Base public function getActionRequiredParameters() { return array( - 'src_column_id' => t('From column'), - 'dest_column_id' => t('To column') + 'src_column_id' => t('Source column'), + 'dest_column_id' => t('Destination column') ); } @@ -85,7 +85,6 @@ class TaskMoveColumnAssigned extends Base */ public function hasRequiredCondition(array $data) { - return $data['column_id'] == $this->getParam('src_column_id') && - $data['owner_id']; + return $data['column_id'] == $this->getParam('src_column_id') && $data['owner_id']; } } diff --git a/app/Action/TaskMoveColumnUnAssigned.php b/app/Action/TaskMoveColumnUnAssigned.php index 66159b0c..b773252d 100644 --- a/app/Action/TaskMoveColumnUnAssigned.php +++ b/app/Action/TaskMoveColumnUnAssigned.php @@ -34,8 +34,8 @@ class TaskMoveColumnUnAssigned extends Base public function getActionRequiredParameters() { return array( - 'src_column_id' => t('From column'), - 'dest_column_id' => t('To column') + 'src_column_id' => t('Source column'), + 'dest_column_id' => t('Destination column') ); } @@ -85,7 +85,6 @@ class TaskMoveColumnUnAssigned extends Base */ public function hasRequiredCondition(array $data) { - return $data['column_id'] == $this->getParam('src_column_id') && - !$data['owner_id']; + return $data['column_id'] == $this->getParam('src_column_id') && ! $data['owner_id']; } } -- cgit v1.2.3