diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-03-22 19:20:17 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-03-22 19:20:17 -0400 |
commit | 92510eefb15fe6c140b295487a1e0830d29e2029 (patch) | |
tree | 5a00665c9058feb2b18487b37629da2dec632ed8 /app/Action | |
parent | 0e5cdfa6abc3e3a95f703bc17549217f61d9a4f8 (diff) |
Improve and translate pull-request
Diffstat (limited to 'app/Action')
-rw-r--r-- | app/Action/TaskMoveColumnAssigned.php | 7 | ||||
-rw-r--r-- | app/Action/TaskMoveColumnUnAssigned.php | 7 |
2 files changed, 6 insertions, 8 deletions
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']; } } |