All error messages should be passed to t() before being passed to this function. From a translations standpoint, having strings automatically translated in this function hurts this functionality. The second parameter is an array of variables that are passed to t() and will no longer be necessary.
Comments
Comment #1
cpliakas commentedThis task is related to #620340: Review best practices for translations, adhere to best practices regarding calls to t()..
Comment #2
cpliakas commentedCompleted in commit #282698.