Fix translation
This commit is contained in:
parent
00d7947ee8
commit
2ba9d7f288
@ -115,7 +115,7 @@ ChildOfTask=Child of task
|
|||||||
TaskHasChild=Task has child
|
TaskHasChild=Task has child
|
||||||
NotOwnerOfProject=Not owner of this private project
|
NotOwnerOfProject=Not owner of this private project
|
||||||
AffectedTo=Allocated to
|
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.
|
CantRemoveProject=This project can't be removed as it is referenced by some other objects (invoice, orders or other). See tab '%s'.
|
||||||
ValidateProject=Validate projet
|
ValidateProject=Validate projet
|
||||||
ConfirmValidateProject=Are you sure you want to validate this project?
|
ConfirmValidateProject=Are you sure you want to validate this project?
|
||||||
CloseAProject=Close project
|
CloseAProject=Close project
|
||||||
|
|||||||
@ -106,7 +106,7 @@ if (empty($reshook))
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dol_syslog($object->error, LOG_DEBUG);
|
dol_syslog($object->error, LOG_DEBUG);
|
||||||
setEventMessages($langs->trans("CantRemoveProject"), null, 'errors');
|
setEventMessages($langs->trans("CantRemoveProject", $langs->transnoentitiesnoconv("ProjectOverview")), null, 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($backtopage)
|
if ($backtopage)
|
||||||
|
|||||||
@ -764,7 +764,7 @@ class Project extends CommonObject
|
|||||||
$resql = $this->db->query($sql);
|
$resql = $this->db->query($sql);
|
||||||
if (!$resql)
|
if (!$resql)
|
||||||
{
|
{
|
||||||
$this->errors[] = $langs->trans("CantRemoveProject");
|
$this->errors[] = $langs->trans("CantRemoveProject", $langs->transnoentitiesnoconv("ProjectOverview"));
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user