';
$parameters = array();
diff --git a/htdocs/projet/contact.php b/htdocs/projet/contact.php
index 8bbdbed9e6a..471e50139f5 100644
--- a/htdocs/projet/contact.php
+++ b/htdocs/projet/contact.php
@@ -84,7 +84,7 @@ if ($action == 'addcontact' && $user->rights->projet->creer)
}
}
-// bascule du statut d'un contact
+// Change contact's status
if ($action == 'swapstatut' && $user->rights->projet->creer)
{
if ($object->fetch($id))
@@ -95,7 +95,7 @@ if ($action == 'swapstatut' && $user->rights->projet->creer)
}
}
-// Efface un contact
+// Delete a contact
if (($action == 'deleteline' || $action == 'deletecontact') && $user->rights->projet->creer)
{
$object->fetch($id);
@@ -128,7 +128,7 @@ $userstatic = new User($db);
/* *************************************************************************** */
/* */
-/* Mode vue et edition */
+/* Edition and view mode */
/* */
/* *************************************************************************** */
diff --git a/htdocs/projet/ganttview.php b/htdocs/projet/ganttview.php
index f15e6d4900f..3ddd0402db7 100644
--- a/htdocs/projet/ganttview.php
+++ b/htdocs/projet/ganttview.php
@@ -262,14 +262,14 @@ if (count($tasksarray) > 0)
$tasks = array();
$task_dependencies = array();
$taskcursor = 0;
- foreach ($tasksarray as $key => $val) // Task array are sorted by "project, position, dateo"
+ foreach ($tasksarray as $key => $val) // Task array are sorted by "project, position, date"
{
$task->fetch($val->id, '');
$idparent = ($val->fk_parent ? $val->fk_parent : '-'.$val->fk_project); // If start with -, id is a project id
$tasks[$taskcursor]['task_id'] = $val->id;
- $tasks[$taskcursor]['task_alternate_id'] = ($taskcursor + 1); // An id that has same order than position (requird by ganttchart)
+ $tasks[$taskcursor]['task_alternate_id'] = ($taskcursor + 1); // An id that has same order than position (required by ganttchart)
$tasks[$taskcursor]['task_project_id'] = $val->fk_project;
$tasks[$taskcursor]['task_parent'] = $idparent;
diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index 42f84c157a8..1f32494a72c 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -284,7 +284,7 @@ $formproject = new FormProjets($db);
$title = $langs->trans("Projects");
-// Get list of project id allowed to user (in a string list separated by coma)
+// Get list of project id allowed to user (in a string list separated by comma)
$projectsListId = '';
if (!$user->rights->projet->all->lire) $projectsListId = $object->getProjectsAuthorizedForUser($user, 0, 1, $socid);
@@ -386,7 +386,7 @@ if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST))
{
$result = $db->query($sql);
$nbtotalofrecords = $db->num_rows($result);
- if (($page * $limit) > $nbtotalofrecords) // if total resultset is smaller then paging size (filtering), goto and load page 0
+ if (($page * $limit) > $nbtotalofrecords) // if total resultset is smaller than paging size (filtering), goto and load page 0
{
$page = 0;
$offset = 0;