diff --git a/uc_order/uc_order.module b/uc_order/uc_order.module index 839e02c..defd8bc 100644 --- a/uc_order/uc_order.module +++ b/uc_order/uc_order.module @@ -612,8 +612,7 @@ function uc_order_mail($key, &$message, $params) { // Perform token replacement on the subject and body. $subject = token_replace_multiple($params['subject'], $params['replacements']); - $body = token_replace_multiple($params['message'], $params['replacements']); - + $body = token_replace_multiple(t($params['message'], array(), $params['replacements']['user']->language), $params['replacements']); // Strip newline characters from e-mail subjects. // TODO: Maybe drupal_mail_send() should do this? -LM $message['subject'] = str_replace(array("\r\n", "\r", "\n"), ' ', $subject);