From 319c81b4033c4709454e02bfa302249a7f32ece5 Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Thu, 3 Jan 2013 14:18:30 +0100 Subject: [PATCH] Made title attribute for product quantity inputs translatable --- templates/cart/cart.php | 2 +- templates/single-product/add-to-cart/quantity.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cart/cart.php b/templates/cart/cart.php index bf31383c880..f8af5af20c2 100755 --- a/templates/cart/cart.php +++ b/templates/cart/cart.php @@ -93,7 +93,7 @@ global $woocommerce; $min = apply_filters( 'woocommerce_quantity_input_min', '', $_product ); $max = apply_filters( 'woocommerce_quantity_input_max', $_product->backorders_allowed() ? '' : $_product->get_stock_quantity(), $_product ); - $product_quantity = sprintf( '
', $cart_item_key, $step, $min, $max, esc_attr( $values['quantity'] ) ); + $product_quantity = sprintf( '
', $cart_item_key, $step, $min, $max, esc_attr( $values['quantity'] ) ); } echo apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key ); diff --git a/templates/single-product/add-to-cart/quantity.php b/templates/single-product/add-to-cart/quantity.php index 5710ff3c4e1..f66a452d92c 100644 --- a/templates/single-product/add-to-cart/quantity.php +++ b/templates/single-product/add-to-cart/quantity.php @@ -10,4 +10,4 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> -
\ No newline at end of file +
\ No newline at end of file