Permalink
Browse files

Remove hardcoded text for "or" and "remove" so they can be translated…

…. Fixed issues #332 and #204
  • Loading branch information...
1 parent f4d3f53 commit 4e3dd7f0116ba6a2eadefa3e4521e640fee55a0e @markkevans markkevans committed Aug 14, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −0 catalog/includes/languages/english/shopping_cart.php
  2. +1 −1 catalog/shopping_cart.php
@@ -25,4 +25,6 @@
define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' dont exist in desired quantity in our stock.<br />You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.');
define('TEXT_ALTERNATIVE_CHECKOUT_METHODS', '- OR -');
+define('TEXT_OR', 'or ');
+define('TEXT_REMOVE', 'remove');
?>
@@ -94,7 +94,7 @@
}
}
- $products_name .= '<br /><br />' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . '&nbsp;&nbsp;&nbsp;or <a href="' . tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product') . '">remove</a>';
+ $products_name .= '<br /><br />' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . '&nbsp;&nbsp;&nbsp;' . TEXT_OR . '<a href="' . tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product') . '">' . TEXT_REMOVE . '</a>';
$products_name .= ' </td>' .
' </tr>' .

0 comments on commit 4e3dd7f

Please sign in to comment.