add translation
This commit is contained in:
parent
aba9c262ba
commit
576a1fd5a1
@ -303,7 +303,7 @@ class doc_generic_myobject_odt extends ModelePDFMyObject
|
|||||||
|
|
||||||
dol_mkdir($conf->mymodule->dir_temp);
|
dol_mkdir($conf->mymodule->dir_temp);
|
||||||
if (!is_writable($conf->mymodule->dir_temp)) {
|
if (!is_writable($conf->mymodule->dir_temp)) {
|
||||||
$this->error = "Failed to write in temp directory ".$conf->mymodule->dir_temp;
|
$this->error = $langs->transnoentities("ErrorFailedToWriteInTempDirectory", $conf->mymodule->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