WordPress.org

Making WordPress.org

Changeset 6490


Ignore:
Timestamp:
01/31/2018 10:04:01 PM (3 years ago)
Author:
obenland
Message:

Breathe: Use wporg textdomain for translations.

H/t ocean90.

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/functions.php

    r6432 r6490  
    9494    <div class="make-welcome">
    9595        <div class="entry-meta">
    96             <?php edit_post_link( __( 'Edit', 'o2' ), '', '', $welcome->ID ); ?>
    97             <button type="button" id="make-welcome-hide" class="toggle dashicons dashicons-no" data-hash="<?php echo $content_hash; ?>" data-cookie="<?php echo $cookie; ?>" title="<?php esc_attr_e( 'Hide this message', 'p2-breathe' ); ?>"></button>
     96            <?php edit_post_link( __( 'Edit', 'wporg' ), '', '', $welcome->ID ); ?>
     97            <button type="button" id="make-welcome-hide" class="toggle dashicons dashicons-no" data-hash="<?php echo $content_hash; ?>" data-cookie="<?php echo $cookie; ?>" title="<?php esc_attr_e( 'Hide this message', 'wporg' ); ?>"></button>
    9898        </div>
    9999        <div class="entry-content clear">
     
    111111    ?>
    112112    <noscript class="js-disabled-notice">
    113         <?php _e( 'Please enable JavaScript to view this page properly.', 'o2' ); ?>
     113        <?php _e( 'Please enable JavaScript to view this page properly.', 'wporg' ); ?>
    114114    </noscript>
    115115    <?php
     
    171171}
    172172add_filter( 'jetpack_mentions_linked_mention', __NAMESPACE__ . '\disable_mentions_for_handbook', 10, 2 );
    173 
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/header.php

    r6354 r6490  
    1414
    1515    <nav id="site-navigation" class="navigation-main clear" role="navigation">
    16         <div class="screen-reader-text skip-link"><a href="#content" title="<?php _e( 'Skip to content', 'p2-breathe' ); ?>"><?php _e( 'Skip to content', 'p2-breathe' ); ?></a></div>
     16        <div class="screen-reader-text skip-link"><a href="#content" title="<?php _e( 'Skip to content', 'wporg' ); ?>"><?php _e( 'Skip to content', 'wporg' ); ?></a></div>
    1717
    1818        <?php wp_nav_menu( array( 'theme_location' => 'primary', 'fallback_cb' => false, 'depth' => 1 ) ); ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/single-component.php

    r4806 r6490  
    1616                <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    1717                    <div class="entry-content">
    18                         <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'p2-breathe' ) ); ?>
    19                         <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'p2-breathe' ), 'after' => '</div>' ) ); ?>
     18                        <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'wporg' ) ); ?>
     19                        <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg' ), 'after' => '</div>' ) ); ?>
    2020                    </div>
    2121                </article>
Note: See TracChangeset for help on using the changeset viewer.