Making WordPress.org

Changeset 14418


Ignore:
Timestamp:
04/11/2025 06:01:19 AM (2 months ago)
Author:
dd32
Message:

Breathe: Use the correct textdomain.

Fixes #7877.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/functions.php

    r14405 r14418  
    6363    if ( is_callable( 'global_fonts_preload' ) ) {
    6464        /* translators: Subsets can be any of cyrillic, cyrillic-ext, greek, greek-ext, vietnamese, latin, latin-ext. */
    65         $subsets = _x( 'Latin', 'Heading font subsets, comma separated', 'wporg-breathe' );
     65        $subsets = _x( 'Latin', 'Heading font subsets, comma separated', 'wporg' );
    6666        // All headings.
    6767        global_fonts_preload( 'Inter', $subsets );
     
    194194    $redirect_url = home_url( $wp->request );
    195195    $login_item = array(
    196         'label' => __( 'Log in', 'wporg-breathe' ),
     196        'label' => __( 'Log in', 'wporg' ),
    197197        'url' => wp_login_url( $redirect_url ),
    198198    );
     
    678678    ?>
    679679    <nav role="navigation" id="<?php echo esc_attr( $nav_id ); ?>" class="<?php echo $nav_class; ?>">
    680         <h2 class="screen-reader-text"><?php _e( 'Post navigation', 'p2-breathe' ); ?></h2>
     680        <h2 class="screen-reader-text"><?php _e( 'Post navigation', 'wporg' ); ?></h2>
    681681
    682682    <?php if ( is_single() ) : // navigation links for single posts ?>
    683683
    684         <?php previous_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'p2-breathe' ) . '</span> %title' ); ?>
    685         <?php next_post_link( '<div class="nav-next">%link</div>', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'p2-breathe' ) . '</span>' ); ?>
     684        <?php previous_post_link( '<div class="nav-previous">%link</div>', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'wporg' ) . '</span> %title' ); ?>
     685        <?php next_post_link( '<div class="nav-next">%link</div>', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'wporg' ) . '</span>' ); ?>
    686686
    687687    <?php elseif ( $wp_query->max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?>
    688688
    689689        <?php if ( get_next_posts_link() ) : ?>
    690         <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'p2-breathe' ) ); ?></div>
     690        <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'wporg' ) ); ?></div>
    691691        <?php endif; ?>
    692692
    693693        <?php if ( get_previous_posts_link() ) : ?>
    694         <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'p2-breathe' ) ); ?></div>
     694        <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'wporg' ) ); ?></div>
    695695        <?php endif; ?>
    696696
     
    727727            '/<a\b[^>]*>(.*?)<\/a>/',
    728728            '<a target="_self" rel="home" href="' . esc_url( $make_home_url ) . '">' .
    729             esc_html__( 'Make WordPress', 'wporg-breathe' ) .
     729            esc_html__( 'Make WordPress', 'wporg' ) .
    730730            '</a>',
    731731            $block_content
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe-2024/header.php

    r14195 r14418  
    4040            $before_name,
    4141            $is_updates_or_project
    42                 ? esc_html__( 'Make WordPress', 'wporg-breathe' )
     42                ? esc_html__( 'Make WordPress', 'wporg' )
    4343                : esc_html( get_bloginfo('name') )
    4444        )
Note: See TracChangeset for help on using the changeset viewer.