From ba372bfc5c6ae9d3eb10748b1785f30c41b68f3b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 16 Nov 2017 23:11:49 +0100 Subject: [PATCH] Fix typo --- htdocs/langs/en_US/projects.lang | 3 ++- htdocs/projet/tasks.php | 4 ++-- htdocs/projet/tasks/task.php | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) 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 ''.$langs->trans("ChildOfTask").''; + print ''.$langs->trans("ChildOfProjectTask").''; print $formother->selectProjectTasks(GETPOST('task_parent'),$projectid?$projectid:$object->id, 'task_parent', 0, 0, 1, 1); print ''; diff --git a/htdocs/projet/tasks/task.php b/htdocs/projet/tasks/task.php index e539adf4f41..f416a71b432 100644 --- a/htdocs/projet/tasks/task.php +++ b/htdocs/projet/tasks/task.php @@ -194,7 +194,7 @@ if ($action == 'remove_file' && $user->rights->projet->creer) /* * View -*/ + */ llxHeader('', $langs->trans("Task")); @@ -376,7 +376,7 @@ if ($id > 0 || ! empty($ref)) } // Task parent - print ''.$langs->trans("ChildOfTask").''; + print ''.$langs->trans("ChildOfProjectTask").''; print $formother->selectProjectTasks($object->fk_task_parent, $projectstatic->id, 'task_parent', ($user->admin?0:1), 0, 0, 0, $object->id); print '';