uc_order_history translation missing in table

Contrib type: 
Code/CSS Snippet
Status: 
Complete and working
Moderation: 
Awaiting moderation

Downloads


Compatibility: 
Ubercart 2.x

Apply to :
uc_order.admin.inc,v 1.1.2.28 2009/11/18 21:08:06

The column "Status" is not translated :

change line 1049
array('data' => $order->title),

to :

array('data' => t($order->title)),

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3458
Re: uc_order_history translation missing in table

1) Bugs should be reported in the Ubercart issue queue at http://drupal.org/project/issues/ubercart

2) Your fix is not good because t() is not supposed to be applied to variables.

<tr>.