Make WordPress Core

Changeset 57281


Ignore:
Timestamp:
01/14/2024 10:42:58 AM (8 months ago)
Author:
audrasjb
Message:

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.

Location:
trunk/src/wp-content/themes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/block-patterns.php

    r51434 r57281  
    132132            <!-- /wp:heading -->
    133133            <!-- wp:paragraph {"align":"left"} -->
    134             <p class="has-text-align-left"><a href="#">' . __( 'See Case Study' ) . ' →</a></p>
     134            <p class="has-text-align-left"><a href="#">' . __( 'See Case Study', 'twentysixteen' ) . ' →</a></p>
    135135            <!-- /wp:paragraph --></div></div>
    136136            <!-- /wp:group --></div>
  • trunk/src/wp-content/themes/twentysixteen/inc/block-patterns.php

    r51496 r57281  
    5555
    5656            <!-- wp:heading {"level":1,"style":{"typography":{"fontSize":55}}} -->
    57             <h1 style="font-size:55px">' . esc_html__( 'Twenty Sixteen' ) . '</h1>
     57            <h1 style="font-size:55px">' . esc_html__( 'Twenty Sixteen', 'twentysixteen' ) . '</h1>
    5858            <!-- /wp:heading -->
    5959
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/hidden-portfolio-hero.php

    r56951 r57281  
    1414<div class="wp-block-group alignwide">
    1515    <!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"lineHeight":"1.2"}},"fontSize":"xx-large"} -->
    16     <h1 class="wp-block-heading alignwide has-xx-large-font-size" style="line-height:1.2"><?php echo wp_kses_post( __( 'I’m <em>Leia Acosta</em>, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.' ) ); ?></h1>
     16    <h1 class="wp-block-heading alignwide has-xx-large-font-size" style="line-height:1.2"><?php echo wp_kses_post( __( 'I’m <em>Leia Acosta</em>, a passionate photographer who finds inspiration in capturing the fleeting beauty of life.', 'twentytwentyfour ' ) ); ?></h1>
    1717    <!-- /wp:heading -->
    1818</div>
Note: See TracChangeset for help on using the changeset viewer.