add translation
This commit is contained in:
parent
f4394e28c6
commit
835c068ed5
@ -299,7 +299,7 @@ class doc_generic_product_odt extends ModelePDFProduct
|
|||||||
|
|
||||||
dol_mkdir($conf->product->dir_temp);
|
dol_mkdir($conf->product->dir_temp);
|
||||||
if (!is_writable($conf->product->dir_temp)) {
|
if (!is_writable($conf->product->dir_temp)) {
|
||||||
$this->error = "Failed to write in temp directory ".$conf->product->dir_temp;
|
$this->error = $langs->transnoentities("ErrorFailedToWriteInTempDirectory", $conf->product->dir_temp);
|
||||||
dol_syslog('Error in write_file: ' . $this->error, LOG_ERR);
|
dol_syslog('Error in write_file: ' . $this->error, LOG_ERR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -577,7 +577,7 @@ class doc_generic_project_odt extends ModelePDFProjects
|
|||||||
|
|
||||||
dol_mkdir($conf->project->dir_temp);
|
dol_mkdir($conf->project->dir_temp);
|
||||||
if (!is_writable($conf->project->dir_temp)) {
|
if (!is_writable($conf->project->dir_temp)) {
|
||||||
$this->error = "Failed to write in temp directory ".$conf->project->dir_temp;
|
$this->error = $langs->transnoentities("ErrorFailedToWriteInTempDirectory", $conf->project->dir_temp);
|
||||||
dol_syslog('Error in write_file: ' . $this->error, LOG_ERR);
|
dol_syslog('Error in write_file: ' . $this->error, LOG_ERR);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user