Merge pull request #8753 from delcroip/patch-15

new: log message for missing translation
This commit is contained in:
Laurent Destailleur 2018-05-10 11:56:56 +02:00 committed by GitHub
commit 0bf1fe2908
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 for key '".$newstr."' in ".$_SERVER["PHP_SELF"], LOG_DEBUG);
return $newstr;
}