diff --git a/templates/cart/cart-shipping.php b/templates/cart/cart-shipping.php index 766c2dbcc8a..85873f96c9b 100644 --- a/templates/cart/cart-shipping.php +++ b/templates/cart/cart-shipping.php @@ -48,10 +48,10 @@ $calculator_text = ''; ' . esc_html( $formatted_destination ) . '' ); + printf( esc_html__( 'Shipping to %s.', 'woocommerce' ) . ' ', '' . esc_html( $formatted_destination ) . '' ); $calculator_text = __( 'Change address', 'woocommerce' ); } else { - echo wp_kses_post( apply_filters( 'woocommerce_shipping_estimate_html', __( 'This is only an estimate. Prices will be updated during checkout.', 'woocommerce' ) ) ); + echo wp_kses_post( apply_filters( 'woocommerce_shipping_estimate_html', __( 'Shipping options will be updated during checkout.', 'woocommerce' ) ) ); } ?>

@@ -60,7 +60,7 @@ $calculator_text = ''; elseif ( ! $has_calculated_shipping || ! $formatted_destination ) : echo wp_kses_post( apply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) ) ); elseif ( ! is_cart() ) : - echo wp_kses_post( apply_filters( 'woocommerce_no_shipping_available_html', __( 'There are no shipping methods available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woocommerce' ) ) ); + echo wp_kses_post( apply_filters( 'woocommerce_no_shipping_available_html', __( 'There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woocommerce' ) ) ); else : // Translators: $s shipping destination. echo wp_kses_post( apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'woocommerce' ) . ' ', '' . esc_html( $formatted_destination ) . '' ) ) );