diff --git a/htdocs/langs/en_US/projects.lang b/htdocs/langs/en_US/projects.lang index dd7f15aa61b..f57174ed956 100644 --- a/htdocs/langs/en_US/projects.lang +++ b/htdocs/langs/en_US/projects.lang @@ -96,7 +96,8 @@ ActivityOnProjectYesterday=Activity on project yesterday ActivityOnProjectThisWeek=Activity on project this week ActivityOnProjectThisMonth=Activity on project this month ActivityOnProjectThisYear=Activity on project this year -ChildOfTask=Child of project/task +ChildOfProjectTask=Child of project/task +ChildOfTask=Child of task NotOwnerOfProject=Not owner of this private project AffectedTo=Allocated to CantRemoveProject=This project can't be removed as it is referenced by some other objects (invoice, orders or other). See referers tab. diff --git a/htdocs/projet/tasks.php b/htdocs/projet/tasks.php index 385b63142d4..567acbfee03 100644 --- a/htdocs/projet/tasks.php +++ b/htdocs/projet/tasks.php @@ -116,7 +116,7 @@ if ($action == 'createtask' && $user->rights->projet->creer) } else if (empty($_POST['task_parent'])) { - setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("ChildOfTask")), null, 'errors'); + setEventMessages($langs->trans("ErrorFieldRequired", $langs->transnoentities("ChildOfProjectTask")), null, 'errors'); $action='create'; $error++; } @@ -370,7 +370,7 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third print ''; // List of projects - print '