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