Fix minor errors
This commit is contained in:
parent
94ce6f1364
commit
3345154b4d
|
|
@ -151,7 +151,7 @@ class Task extends Base
|
|||
'errors' => $errors,
|
||||
'values' => $values,
|
||||
'projects_list' => $this->project->getListByStatus(\Model\Project::ACTIVE),
|
||||
'columns_list' => $this->board->getColumnsList($task['project_id']),
|
||||
'columns_list' => $this->board->getColumnsList($values['project_id']),
|
||||
'users_list' => $this->user->getList(),
|
||||
'colors_list' => $this->task->getColors(),
|
||||
'menu' => 'tasks',
|
||||
|
|
|
|||
|
|
@ -124,8 +124,6 @@ return array(
|
|||
'The user id is required' => 'L\'id de l\'utilisateur est obligatoire',
|
||||
'Passwords doesn\'t matches' => 'Les mots de passe ne correspondent pas',
|
||||
'The confirmation is required' => 'Le confirmation est requise',
|
||||
'The password is required' => 'Le mot de passe est obligatoire',
|
||||
'The title is required' => 'Le titre est obligatoire',
|
||||
'The column is required' => 'La colonne est obligatoire',
|
||||
'The project is required' => 'Le projet est obligatoire',
|
||||
'The color is required' => 'La couleur est obligatoire',
|
||||
|
|
|
|||
|
|
@ -124,8 +124,6 @@ return array(
|
|||
'The user id is required' => 'ID użytkownika jest wymagane',
|
||||
'Passwords doesn\'t matches' => 'Hasła nie pasują do siebie',
|
||||
'The confirmation is required' => 'Wymagane jest potwierdzenie',
|
||||
'The password is required' => 'Hasło jest wymagane',
|
||||
'The title is required' => 'Tutył jest wymagany',
|
||||
'The column is required' => 'Kolumna jest wymagana',
|
||||
'The project is required' => 'Projekt jest wymagany',
|
||||
'The color is required' => 'Kolor jest wymagany',
|
||||
|
|
|
|||
|
|
@ -155,8 +155,6 @@ class Board extends Base
|
|||
// Validate column creation
|
||||
public function validateCreation(array $values)
|
||||
{
|
||||
$rules = array();
|
||||
|
||||
$v = new Validator($values, array(
|
||||
new Validators\Required('project_id', t('The project id is required')),
|
||||
new Validators\Integer('project_id', t('This value must be an integer')),
|
||||
|
|
|
|||
Loading…
Reference in New Issue