WordPress.org

Making WordPress.org

Changeset 7959


Ignore:
Timestamp:
12/09/2018 05:21:54 PM (15 months ago)
Author:
Otto42
Message:

W.org themes: Correct text domain for wporg-breathe theme, to allow translation to work properly on i18n sites. h/t @CoachBirgit for the info about the problem

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

Legend:

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

    r7871 r7959  
    1414                $author_posts_url = get_author_posts_url( get_the_author_meta( 'ID' ) );
    1515                    $posts_by_title   = sprintf(
    16                     __( 'Posts by %1$s ( @%2$s )', 'wporg-breathe' ),
     16                    __( 'Posts by %1$s ( @%2$s )', 'wporg' ),
    1717                    get_the_author_meta( 'display_name' ),
    1818                    get_the_author_meta( 'user_nicename' )
     
    3636            <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : ?>
    3737                <span class="entry-tags">
    38                     <?php breathe_tags_with_count( '', '<br />' . __( 'Tags:' , 'wporg-breathe' ) .' ', ', ', ' &nbsp;' ); ?>&nbsp;
     38                    <?php breathe_tags_with_count( '', '<br />' . __( 'Tags:' , 'wporg' ) .' ', ', ', ' &nbsp;' ); ?>&nbsp;
    3939                </span>
    4040            <?php endif; ?>
     
    5252    <?php else : ?>
    5353    <div class="entry-content">
    54         <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'wporg-breathe' ) ); ?>
    55         <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg-breathe' ), 'after' => '</div>' ) ); ?>
     54        <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'wporg' ) ); ?>
     55        <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg' ), 'after' => '</div>' ) ); ?>
    5656    </div><!-- .entry-content -->
    5757    <?php endif; ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/search.php

    r7869 r7959  
    2020                <h1 class="page-title">
    2121                    <?php if ( $is_handbook ) {
    22                         printf( __( 'Handbook Search Results for: %s', 'wporg-breathe' ), '<span>' . get_search_query() . '</span>' );
     22                        printf( __( 'Handbook Search Results for: %s', 'wporg' ), '<span>' . get_search_query() . '</span>' );
    2323                    } else {
    24                         printf( __( 'Search Results for: %s', 'wporg-breathe' ), '<span>' . get_search_query() . '</span>' );
     24                        printf( __( 'Search Results for: %s', 'wporg' ), '<span>' . get_search_query() . '</span>' );
    2525                    } ?>
    2626
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/searchform.php

    r5237 r7959  
    88<?php $search_url = function_exists( 'wporg_is_handbook' ) && wporg_is_handbook() ? wporg_get_current_handbook_home_url() : home_url( '/' ); ?>
    99<form method="get" id="searchform" class="searchform" action="<?php echo esc_url( $search_url ); ?>" role="search">
    10     <label for="s" class="screen-reader-text"><?php _ex( 'Search', 'label', 'wporg-breathe' ); ?></label>
    11     <input type="search" class="field" name="s" value="<?php echo get_search_query(); ?>" id="s" placeholder="<?php _ex( 'Search &hellip;', 'placeholder', 'wporg-breathe' ); ?>">
    12     <input type="submit" class="submit" id="searchsubmit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'wporg-breathe' ); ?>">
     10    <label for="s" class="screen-reader-text"><?php _ex( 'Search', 'label', 'wporg' ); ?></label>
     11    <input type="search" class="field" name="s" value="<?php echo get_search_query(); ?>" id="s" placeholder="<?php _ex( 'Search &hellip;', 'placeholder', 'wporg' ); ?>">
     12    <input type="submit" class="submit" id="searchsubmit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'wporg' ); ?>">
    1313</form>
Note: See TracChangeset for help on using the changeset viewer.