From 60b445510d20832c8d8eaf72a862afac4aad0a3e Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Tue, 12 Dec 2023 18:13:03 -0400 Subject: [PATCH] update woo-gutenberg-products-block text domain to woocommerce in patterns and templates folders (#42720) Co-authored-by: Ron Rennick --- plugins/woocommerce/changelog/fix-41996-other | 4 ++++ plugins/woocommerce/patterns/banner.php | 2 +- .../patterns/featured-category-focus.php | 2 +- .../patterns/featured-category-triple.php | 12 ++++++------ .../featured-products-fresh-and-tasty.php | 16 ++++++++-------- plugins/woocommerce/patterns/filters.php | 10 +++++----- .../woocommerce/patterns/footer-large-dark.php | 6 +++--- plugins/woocommerce/patterns/footer-large.php | 6 +++--- .../woocommerce/patterns/footer-simple-dark.php | 2 +- .../woocommerce/patterns/footer-simple-menu.php | 4 ++-- plugins/woocommerce/patterns/footer-simple.php | 2 +- .../patterns/footer-with-2-menus-dark.php | 2 +- .../woocommerce/patterns/footer-with-2-menus.php | 2 +- .../woocommerce/patterns/footer-with-3-menus.php | 4 ++-- .../patterns/header-essential-dark.php | 2 +- .../woocommerce/patterns/header-large-dark.php | 2 +- plugins/woocommerce/patterns/header-large.php | 2 +- .../patterns/hero-product-3-split.php | 4 ++-- .../patterns/hero-product-chessboard.php | 4 ++-- .../woocommerce/patterns/hero-product-split.php | 4 ++-- .../woocommerce/patterns/no-products-found.php | 2 +- ...ct-collection-featured-products-5-columns.php | 2 +- .../product-collections-featured-collections.php | 8 ++++---- .../patterns/product-details-pattern.php | 6 +++--- .../patterns/product-hero-2-col-2-row.php | 4 ++-- ...duct-listing-with-gallery-and-description.php | 8 ++++---- .../woocommerce/patterns/product-search-form.php | 2 +- .../woocommerce/patterns/related-products.php | 2 +- .../social-follow-us-in-social-media.php | 8 ++++---- .../patterns/store-info-alt-image-and-text.php | 4 ++-- .../woocommerce/patterns/testimonials-single.php | 2 +- .../templates/block-notices/error.php | 2 +- .../emails/customer-new-account-blocks.php | 6 +++--- .../emails/plain/customer-new-account-blocks.php | 6 +++--- 34 files changed, 79 insertions(+), 75 deletions(-) create mode 100644 plugins/woocommerce/changelog/fix-41996-other diff --git a/plugins/woocommerce/changelog/fix-41996-other b/plugins/woocommerce/changelog/fix-41996-other new file mode 100644 index 00000000000..d7fa4053484 --- /dev/null +++ b/plugins/woocommerce/changelog/fix-41996-other @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +update woo-gutenberg-products-block text domain to woocommerce in patterns and templates folders diff --git a/plugins/woocommerce/patterns/banner.php b/plugins/woocommerce/patterns/banner.php index 37fbad4f715..28eec6ba7b9 100644 --- a/plugins/woocommerce/patterns/banner.php +++ b/plugins/woocommerce/patterns/banner.php @@ -47,7 +47,7 @@ $second_description = $content['descriptions'][1]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent products being showcased in a banner.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent products being showcased in a banner.', 'woocommerce' ); ?>
diff --git a/plugins/woocommerce/patterns/featured-category-focus.php b/plugins/woocommerce/patterns/featured-category-focus.php index 73cd3848b1a..7a2a8cacb9b 100644 --- a/plugins/woocommerce/patterns/featured-category-focus.php +++ b/plugins/woocommerce/patterns/featured-category-focus.php @@ -16,7 +16,7 @@ $button = $content['buttons'][0]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent products being showcased in a featured category section.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent products being showcased in a featured category section.', 'woocommerce' ); ?>
diff --git a/plugins/woocommerce/patterns/featured-category-triple.php b/plugins/woocommerce/patterns/featured-category-triple.php index 619f3237448..f8727421c6d 100644 --- a/plugins/woocommerce/patterns/featured-category-triple.php +++ b/plugins/woocommerce/patterns/featured-category-triple.php @@ -23,14 +23,14 @@ $third_title = $content['titles'][2]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent products being showcased in featured categories banner. 1 out of 3.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent products being showcased in featured categories banner. 1 out of 3.', 'woocommerce' ); ?>

@@ -44,14 +44,14 @@ $third_title = $content['titles'][2]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent products being showcased in featured categories banner. 2 out of 3.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent products being showcased in featured categories banner. 2 out of 3.', 'woocommerce' ); ?>

@@ -65,14 +65,14 @@ $third_title = $content['titles'][2]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent products being showcased in featured categories banner. 3 out of 3', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent products being showcased in featured categories banner. 3 out of 3', 'woocommerce' ); ?>

diff --git a/plugins/woocommerce/patterns/featured-products-fresh-and-tasty.php b/plugins/woocommerce/patterns/featured-products-fresh-and-tasty.php index e8c6bbb825f..8018b88b33c 100644 --- a/plugins/woocommerce/patterns/featured-products-fresh-and-tasty.php +++ b/plugins/woocommerce/patterns/featured-products-fresh-and-tasty.php @@ -29,7 +29,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 1 out of 4.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 1 out of 4.', 'woocommerce' ); ?>
@@ -46,7 +46,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
-

+

@@ -59,7 +59,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 2 out of 4.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 2 out of 4.', 'woocommerce' ); ?>
@@ -76,7 +76,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
-

+

@@ -89,7 +89,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 3 out of 4.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 3 out of 4.', 'woocommerce' ); ?>
@@ -106,7 +106,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
-

+

@@ -119,7 +119,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
- <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 4 out of 4.', 'woo-gutenberg-products-block' ); ?> + <?php esc_attr_e( 'Placeholder image used to represent a product being showcased in the featured products pattern. 4 out of 4.', 'woocommerce' ); ?>
@@ -136,7 +136,7 @@ $fourth_description = $content['descriptions'][3]['default'] ?? '';
-

+

diff --git a/plugins/woocommerce/patterns/filters.php b/plugins/woocommerce/patterns/filters.php index 20323a84e6b..4b995f1aa61 100644 --- a/plugins/woocommerce/patterns/filters.php +++ b/plugins/woocommerce/patterns/filters.php @@ -9,7 +9,7 @@
-

+

@@ -19,7 +19,7 @@
-

+

@@ -29,7 +29,7 @@
-

+

@@ -39,7 +39,7 @@
-

+

-

+

diff --git a/plugins/woocommerce/patterns/footer-large-dark.php b/plugins/woocommerce/patterns/footer-large-dark.php index 27780e60f98..12a9b403a94 100644 --- a/plugins/woocommerce/patterns/footer-large-dark.php +++ b/plugins/woocommerce/patterns/footer-large-dark.php @@ -22,11 +22,11 @@ -
+
-

+

@@ -80,7 +80,7 @@ WooCommerce' ); ?> diff --git a/plugins/woocommerce/patterns/footer-large.php b/plugins/woocommerce/patterns/footer-large.php index cb3534b971f..0e2a3b49df6 100644 --- a/plugins/woocommerce/patterns/footer-large.php +++ b/plugins/woocommerce/patterns/footer-large.php @@ -16,11 +16,11 @@
-
+
-

+

@@ -67,7 +67,7 @@ /* translators: Footer powered by text. %1$s being WordPress, %2$s being WooCommerce */ esc_html__( 'Powered by %1$s with %2$s', - 'woo-gutenberg-products-block' + 'woocommerce' ), 'WordPress', 'WooCommerce' diff --git a/plugins/woocommerce/patterns/footer-simple-dark.php b/plugins/woocommerce/patterns/footer-simple-dark.php index 11263898040..ca39f4da889 100644 --- a/plugins/woocommerce/patterns/footer-simple-dark.php +++ b/plugins/woocommerce/patterns/footer-simple-dark.php @@ -54,7 +54,7 @@ WooCommerce' ); ?> diff --git a/plugins/woocommerce/patterns/footer-simple-menu.php b/plugins/woocommerce/patterns/footer-simple-menu.php index 1b3cdc26e9a..2682a75bbef 100644 --- a/plugins/woocommerce/patterns/footer-simple-menu.php +++ b/plugins/woocommerce/patterns/footer-simple-menu.php @@ -13,7 +13,7 @@
- +
@@ -37,7 +37,7 @@

WordPress', 'WooCommerce' ); + echo sprintf( esc_html__( 'Powered by %1$s with %2$s', 'woocommerce' ), 'WordPress', 'WooCommerce' ); ?>

diff --git a/plugins/woocommerce/patterns/footer-simple.php b/plugins/woocommerce/patterns/footer-simple.php index 2c4fe74354b..c27ae9d44ff 100644 --- a/plugins/woocommerce/patterns/footer-simple.php +++ b/plugins/woocommerce/patterns/footer-simple.php @@ -54,7 +54,7 @@ WooCommerce' ); ?> diff --git a/plugins/woocommerce/patterns/footer-with-2-menus-dark.php b/plugins/woocommerce/patterns/footer-with-2-menus-dark.php index a2d2e16dca5..a670d945133 100644 --- a/plugins/woocommerce/patterns/footer-with-2-menus-dark.php +++ b/plugins/woocommerce/patterns/footer-with-2-menus-dark.php @@ -71,7 +71,7 @@ WooCommerce' ); ?> diff --git a/plugins/woocommerce/patterns/footer-with-2-menus.php b/plugins/woocommerce/patterns/footer-with-2-menus.php index c39174352d6..647a75fbd1c 100644 --- a/plugins/woocommerce/patterns/footer-with-2-menus.php +++ b/plugins/woocommerce/patterns/footer-with-2-menus.php @@ -70,7 +70,7 @@ WooCommerce' ); ?> diff --git a/plugins/woocommerce/patterns/footer-with-3-menus.php b/plugins/woocommerce/patterns/footer-with-3-menus.php index 739babb62e4..6172e15a204 100644 --- a/plugins/woocommerce/patterns/footer-with-3-menus.php +++ b/plugins/woocommerce/patterns/footer-with-3-menus.php @@ -37,7 +37,7 @@
- +
@@ -48,7 +48,7 @@ /* translators: Footer powered by text. %1$s being WordPress, %2$s being WooCommerce */ esc_html__( 'Powered by %1$s with %2$s', - 'woo-gutenberg-products-block' + 'woocommerce' ), 'WordPress', 'WooCommerce' diff --git a/plugins/woocommerce/patterns/header-essential-dark.php b/plugins/woocommerce/patterns/header-essential-dark.php index fd4254aa767..146ebd329e0 100644 --- a/plugins/woocommerce/patterns/header-essential-dark.php +++ b/plugins/woocommerce/patterns/header-essential-dark.php @@ -11,7 +11,7 @@
- +
diff --git a/plugins/woocommerce/patterns/header-large-dark.php b/plugins/woocommerce/patterns/header-large-dark.php index 7bc049df1a0..9ebc7ae95bd 100644 --- a/plugins/woocommerce/patterns/header-large-dark.php +++ b/plugins/woocommerce/patterns/header-large-dark.php @@ -10,7 +10,7 @@