From cb9b3f110e4f8335f4697882d2a8a3cb2b0b77db Mon Sep 17 00:00:00 2001 From: koenemann Date: Thu, 20 Jul 2017 13:28:12 +0200 Subject: [PATCH] Channing texte-main to "woocommerce" for WooCommerce templates No need for extra translations --- woocommerce/cart/cart-empty.php | 2 +- woocommerce/cart/cart.php | 24 ++++++++--------- woocommerce/cart/mini-cart.php | 6 ++--- .../cart/proceed-to-checkout-button.php | 4 +-- woocommerce/checkout/form-checkout.php | 6 ++--- woocommerce/checkout/form-coupon.php | 8 +++--- woocommerce/checkout/form-pay.php | 10 +++---- woocommerce/checkout/payment.php | 8 +++--- woocommerce/global/form-login.php | 12 ++++----- woocommerce/global/quantity-input.php | 4 +-- woocommerce/myaccount/downloads.php | 12 ++++----- woocommerce/myaccount/form-edit-account.php | 18 ++++++------- woocommerce/myaccount/form-edit-address.php | 6 ++--- woocommerce/myaccount/form-login.php | 26 +++++++++---------- woocommerce/myaccount/form-lost-password.php | 8 +++--- woocommerce/myaccount/form-reset-password.php | 10 +++---- woocommerce/myaccount/my-address.php | 14 +++++----- woocommerce/myaccount/my-orders.php | 20 +++++++------- woocommerce/myaccount/orders.php | 20 +++++++------- woocommerce/product-searchform.php | 2 +- .../single-product/add-to-cart/simple.php | 2 +- .../variation-add-to-cart-button.php | 2 +- woocommerce/single-product/rating.php | 2 +- .../single-product/short-description.php | 2 +- 24 files changed, 114 insertions(+), 114 deletions(-) diff --git a/woocommerce/cart/cart-empty.php b/woocommerce/cart/cart-empty.php index 07a5fd1..001cf99 100644 --- a/woocommerce/cart/cart-empty.php +++ b/woocommerce/cart/cart-empty.php @@ -30,7 +30,7 @@ do_action( 'woocommerce_cart_is_empty' ); if ( wc_get_page_id( 'shop' ) > 0 ) : ?>

- +

diff --git a/woocommerce/cart/cart.php b/woocommerce/cart/cart.php index 3a047b5..9430814 100644 --- a/woocommerce/cart/cart.php +++ b/woocommerce/cart/cart.php @@ -32,10 +32,10 @@ do_action( 'woocommerce_before_cart' ); ?>     - - - - + + + + @@ -56,7 +56,7 @@ do_action( 'woocommerce_before_cart' ); ?> echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '×', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), - esc_attr__( 'Remove this item', 'understrap' ), + esc_attr__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key ); @@ -75,7 +75,7 @@ do_action( 'woocommerce_before_cart' ); ?> ?> - + get_name(), $cart_item, $cart_item_key ) . ' '; @@ -88,18 +88,18 @@ do_action( 'woocommerce_before_cart' ); ?> // Backorder notification if ( $_product->backorders_require_notification() && $_product->is_on_backorder( $cart_item['quantity'] ) ) { - echo '

' . esc_html__( 'Available on backorder', 'understrap' ) . '

'; + echo '

' . esc_html__( 'Available on backorder', 'woocommerce' ) . '

'; } ?> - + cart->get_product_price( $_product ), $cart_item, $cart_item_key ); ?> - + is_sold_individually() ) { $product_quantity = sprintf( '1 ', $cart_item_key ); @@ -116,7 +116,7 @@ do_action( 'woocommerce_before_cart' ); ?> ?> - + cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); ?> @@ -134,12 +134,12 @@ do_action( 'woocommerce_before_cart' ); ?>
- +
- + diff --git a/woocommerce/cart/mini-cart.php b/woocommerce/cart/mini-cart.php index b16f34e..18a76a8 100644 --- a/woocommerce/cart/mini-cart.php +++ b/woocommerce/cart/mini-cart.php @@ -44,7 +44,7 @@ do_action( 'woocommerce_before_mini_cart' ); ?> echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '×', esc_url( WC()->cart->get_remove_url( $cart_item_key ) ), - esc_attr__( 'Remove this item', 'understrap' ), + esc_attr__( 'Remove this item', 'woocommerce' ), esc_attr( $product_id ), esc_attr( $_product->get_sku() ) ), $cart_item_key ); @@ -68,7 +68,7 @@ do_action( 'woocommerce_before_mini_cart' ); ?> ?> -

: cart->get_cart_subtotal(); ?>

+

: cart->get_cart_subtotal(); ?>

@@ -76,7 +76,7 @@ do_action( 'woocommerce_before_mini_cart' ); ?> -

+

diff --git a/woocommerce/cart/proceed-to-checkout-button.php b/woocommerce/cart/proceed-to-checkout-button.php index a8065b7..be155e5 100644 --- a/woocommerce/cart/proceed-to-checkout-button.php +++ b/woocommerce/cart/proceed-to-checkout-button.php @@ -15,7 +15,7 @@ * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates - * @version 2.4.0 + * @version 3.1.0 */ if ( ! defined( 'ABSPATH' ) ) { @@ -24,5 +24,5 @@ if ( ! defined( 'ABSPATH' ) ) { ?> - + diff --git a/woocommerce/checkout/form-checkout.php b/woocommerce/checkout/form-checkout.php index 5167ab5..56e2678 100644 --- a/woocommerce/checkout/form-checkout.php +++ b/woocommerce/checkout/form-checkout.php @@ -13,7 +13,7 @@ * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates - * @version 2.3.0 + * @version 3.1.0 */ if ( ! defined( 'ABSPATH' ) ) { @@ -26,7 +26,7 @@ do_action( 'woocommerce_before_checkout_form', $checkout ); // If checkout registration is disabled and not logged in, the user cannot checkout. if ( ! $checkout->enable_signup && ! $checkout->enable_guest_checkout && ! is_user_logged_in() ) { - echo apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'understrap' ) ); + echo apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ); return; } @@ -52,7 +52,7 @@ if ( ! $checkout->enable_signup && ! $checkout->enable_guest_checkout && ! is_us -

+

diff --git a/woocommerce/checkout/form-coupon.php b/woocommerce/checkout/form-coupon.php index 492153a..9ca97fa 100644 --- a/woocommerce/checkout/form-coupon.php +++ b/woocommerce/checkout/form-coupon.php @@ -13,7 +13,7 @@ * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates - * @version 2.2 + * @version 3.1.0 */ if ( ! defined( 'ABSPATH' ) ) { @@ -25,7 +25,7 @@ if ( ! wc_coupons_enabled() ) { } if ( empty( WC()->cart->applied_coupons ) ) { - $info_message = apply_filters( 'woocommerce_checkout_coupon_message', __( 'Have a coupon?', 'understrap' ) . ' ' . __( 'Click here to enter your code', 'understrap' ) . '' ); + $info_message = apply_filters( 'woocommerce_checkout_coupon_message', __( 'Have a coupon?', 'woocommerce' ) . ' ' . __( 'Click here to enter your code', 'woocommerce' ) . '' ); wc_print_notice( $info_message, 'notice' ); } ?> @@ -33,11 +33,11 @@ if ( empty( WC()->cart->applied_coupons ) ) {