When the module gets the order status at line 414, it should be wrapped in t() to allow for translation.

line 414:
$values['order-status'] = uc_order_status_data($order->order_status, 'title');

should be:

$values['order-status'] = t(uc_order_status_data($order->order_status, 'title'));

Comments

TR’s picture

Status: Needs review » Needs work

Nope, can't do that. t() is not to be used for variables, only for string literals.

Anonymous’s picture

bugger, didn't know that. Hmm ... guess I need to find where that var comes from :)

Anonymous’s picture

Doh ... looks like it can't be done since all the statuses are taken from the database ... :(

longwave’s picture

Status: Needs work » Closed (duplicate)

Duplicate of #993360: Make order status strings translatable which has more info.