Bundled Themes: Add missing text domain to various block patterns.

This changeset adds missing text domain to block patterns in Twenty Sixteen, Twenty Seventeen and Twenty Twenty-Four.

Follow-up to [49583] (Twenty Sixteen), [49584] (Twenty Seventeen) and [56716] (Twenty Twenty-Four.)

Props shailu25, sabernhardt.
Fixes #60245.





git-svn-id: https://develop.svn.wordpress.org/trunk@57281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2024-01-14 10:42:58 +00:00
parent 753b41bd4a
commit e3fc05220b
3 changed files with 3 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ if ( function_exists( 'register_block_pattern' ) ) {
<h2 class="has-text-align-left has-black-color has-text-color" style="font-size:30px">' . __( 'Strategy', 'twentyseventeen' ) . '</h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"left"} -->
<p class="has-text-align-left"><a href="#">' . __( 'See Case Study' ) . ' →</a></p>
<p class="has-text-align-left"><a href="#">' . __( 'See Case Study', 'twentysixteen' ) . ' →</a></p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>

View File

@@ -54,7 +54,7 @@ if ( function_exists( 'register_block_pattern' ) ) {
<!-- /wp:spacer -->
<!-- wp:heading {"level":1,"style":{"typography":{"fontSize":55}}} -->
<h1 style="font-size:55px">' . esc_html__( 'Twenty Sixteen' ) . '</h1>
<h1 style="font-size:55px">' . esc_html__( 'Twenty Sixteen', 'twentysixteen' ) . '</h1>
<!-- /wp:heading -->
<!-- wp:spacer {"height":30} -->

View File

@@ -13,7 +13,7 @@
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide">
<!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"lineHeight":"1.2"}},"fontSize":"xx-large"} -->
<h1 class="wp-block-heading alignwide has-xx-large-font-size" style="line-height:1.2"><?php echo wp_kses_post( __( 'Im <em>Leia Acosta</em>, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?></h1>
<h1 class="wp-block-heading alignwide has-xx-large-font-size" style="line-height:1.2"><?php echo wp_kses_post( __( 'Im <em>Leia Acosta</em>, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.', 'twentytwentyfour ' ) ); ?></h1>
<!-- /wp:heading -->
</div>
<!-- /wp:group -->