diff --git a/includes/wc-cart-functions.php b/includes/wc-cart-functions.php index fb07c970c14..1d7040fdf2f 100644 --- a/includes/wc-cart-functions.php +++ b/includes/wc-cart-functions.php @@ -225,7 +225,7 @@ function wc_cart_totals_shipping_html() { 'show_shipping_calculator' => is_cart() && $first, 'package_details' => implode( ', ', $product_names ), /* translators: %d: shipping package number */ - 'package_name' => apply_filters( 'woocommerce_shipping_package_name', ( ( $i + 1 ) > 1 ) ? sprintf( _x( 'Shipping %d', 'shipping packages', 'woocommerce' ), ( $i + 1 ) ) : _x( 'Shipping', 'shipping package', 'woocommerce' ), $i, $package ), + 'package_name' => apply_filters( 'woocommerce_shipping_package_name', ( ( $i + 1 ) > 1 ) ? sprintf( _x( 'Shipping %d', 'shipping packages', 'woocommerce' ), ( $i + 1 ) ) : _x( 'Shipping', 'shipping packages', 'woocommerce' ), $i, $package ), 'index' => $i, 'chosen_method' => $chosen_method, 'formatted_destination' => WC()->countries->get_formatted_address( $package['destination'], ', ' ),