VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: patrik60 on July 16, 2012, 15:22:41 PM

Title: Order status translation in download plugin
Post by: patrik60 on July 16, 2012, 15:22:41 PM
By changin the line 295 in the st42_download.php (plgvm_istraxx_download_vm2.0.6_1.4.zip) from

$html .= JTEXT::sprintf ('VMCUSTOM_ST42_DOWNLOAD_PAYMENT_NOT_CONFIRMED', $order_status_name);

to

$html .= JTEXT::sprintf ('VMCUSTOM_ST42_DOWNLOAD_PAYMENT_NOT_CONFIRMED', JText::_($order_status_name));

the order status will be translated using language override of order status.