new: log message for missing traduction

It's often difficult to find out the missing translation
This commit is contained in:
delcroix Patrick 2018-05-06 17:29:30 +02:00 committed by GitHub
parent 5fe8249706
commit 5ac2b51517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -576,6 +576,7 @@ class Translate
// TODO OrderSourceX must be replaced with content of table llx_c_input_reason or llx_c_input_method
//$newstr=$this->getLabelFromKey($db,$reg[1],'c_ordersource','code','label');
}
dol_syslog(__METHOD__."missing translation ".$newstr." in ".$_SERVER["PHP_SELF"], LOG_DEBUG);
return $newstr;
}