Closed (fixed)
Project:
e-Commerce
Version:
6.x-4.0-beta7
Component:
cart
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2009 at 18:13 UTC
Updated:
30 Mar 2009 at 23:10 UTC
'Shopping Cart' was not translated in e-Commerce 6.x-4.0-beta7
I have already changed my local 'ec_cart.theme.inc', see chanes below:
original code:
function theme_ec_cart_display_block_title($item_count, $text = 'Shopping Cart' ) {
return ($text, 'cart/view', array('title' => t('View your cart items.')), NULL, NULL, FALSE, TRUE);
}
changed to:
function theme_ec_cart_display_block_title($item_count, $text = 'Shopping cart' ) {
return l(t($text), 'cart/view', array('title' => t('View your cart items.')), NULL, NULL, FALSE, TRUE);
}
Comments
Comment #1
gordon commentedThis has been removed now and replaced with a template and this block can be themed directly using the block.tpl.php and using a name like block-ec_cart.tpl.php to render the block as needed.