Fix translation
This commit is contained in:
parent
a36b780c53
commit
89d37ccc62
@ -137,6 +137,7 @@ Disabled=Disabled
|
||||
Add=Add
|
||||
AddLink=Add link
|
||||
RemoveLink=Remove link
|
||||
AddToDraft=Add to draft
|
||||
Update=Update
|
||||
AddActionToDo=Add event to do
|
||||
AddActionDone=Add event done
|
||||
|
||||
@ -1876,7 +1876,7 @@ if ($object->id && ($action == '' || $action == 'view') && $object->status)
|
||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||
print '<input type="hidden" name="action" value="addin">';
|
||||
|
||||
print load_fiche_titre($langs->trans("Add"),'','');
|
||||
print load_fiche_titre($langs->trans("AddToDraft"),'','');
|
||||
|
||||
dol_fiche_head('');
|
||||
|
||||
|
||||
@ -829,7 +829,8 @@ class Product extends CommonObject
|
||||
$res = @rename($olddir, $newdir);
|
||||
if (! $res)
|
||||
{
|
||||
$this->error='ErrorFailToMoveDir';
|
||||
$langs->load("errors");
|
||||
$this->error=$langs->trans('ErrorFailToRenameDir',$olddir,$newdir);
|
||||
$error++;
|
||||
}
|
||||
}
|
||||
|
||||
@ -297,7 +297,8 @@ class Project extends CommonObject
|
||||
$res=dol_move($olddir, $newdir);
|
||||
if (! $res)
|
||||
{
|
||||
$this->error='ErrorFailToMoveDir';
|
||||
$langs->load("errors");
|
||||
$this->error=$langs->trans('ErrorFailToRenameDir',$olddir,$newdir);
|
||||
$error++;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user