Update coming soon banner text to use translation function (#47742)
* Update coming soon banner text to use translation function * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
36fa4f82ed
commit
433a0e19b2
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: tweak
|
||||
|
||||
Update coming soon banner text to use translation function
|
|
@ -47,7 +47,7 @@ if ( 'twentytwentyfour' === $current_theme ) {
|
|||
|
||||
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":1,"align":"wide","className":"woocommerce-coming-soon-banner","fontFamily":"<?php echo esc_html( $cardo_font_family ); ?>"} -->
|
||||
<h1 class="wp-block-heading alignwide has-text-align-center woocommerce-coming-soon-banner has-<?php echo esc_html( $cardo_font_family ); ?>-font-family">Pardon our dust! We're working on something amazing — check back soon!</h1>
|
||||
<h1 class="wp-block-heading alignwide has-text-align-center woocommerce-coming-soon-banner has-<?php echo esc_html( $cardo_font_family ); ?>-font-family"><?php echo esc_html__( "Pardon our dust! We're working on something amazing — check back soon!", 'woocommerce' ); ?></h1>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ test.describe( 'Launch Your Store front end - logged out', () => {
|
|||
|
||||
await expect(
|
||||
page.getByText(
|
||||
'Pardon our dust! We’re working on something amazing — check back soon!'
|
||||
"Pardon our dust! We're working on something amazing — check back soon!"
|
||||
)
|
||||
).toBeVisible();
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue