WordPress.org

Making WordPress.org


Ignore:
Timestamp:
10/27/2017 05:07:17 PM (3 years ago)
Author:
obenland
Message:

Main: Adopt wporg textdomain.

Allows for both parent and child theme strings to be translated in one GlotPress project.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-templates/releases.php

    r5893 r6057  
    2323                    rosetta_release_row( null, null, null, true );
    2424                    ?>
    25                     <h3 id="latest"><?php _e( 'Latest release', 'wporg-main' ); ?></h3>
     25                    <h3 id="latest"><?php _e( 'Latest release', 'wporg' ); ?></h3>
    2626                    <table class="releases latest">
    2727                        <?php echo rosetta_release_row( $releases['latest'], 'alt' ); ?>
     
    3636                        rosetta_release_row( null, null, null, true );
    3737                        ?>
    38                         <h3><?php printf( __( '%s Branch', 'wporg-main' ), $branch );?></h3>
     38                        <h3><?php printf( __( '%s Branch', 'wporg' ), $branch );?></h3>
    3939                        <table class="releases">
    4040                            <?php
     
    5050                if ( ! empty( $releases['betas'] ) ) :
    5151                    ?>
    52                     <h3 id="betas"><?php _e( 'Beta &amp; RC releases', 'wporg-main' ); ?></h3>
     52                    <h3 id="betas"><?php _e( 'Beta &amp; RC releases', 'wporg' ); ?></h3>
    5353                    <table id="beta" class="releases">
    5454                        <?php
     
    6363                endif; # any betas
    6464            else: # no releases
    65                 echo '<p>' . __( 'There are no releases, yet.', 'wporg-main' ) . '</p>';
     65                echo '<p>' . __( 'There are no releases, yet.', 'wporg' ) . '</p>';
    6666            endif; # if releases
    6767            ?>
     
    7272            sprintf(
    7373            /* translators: %s: Name of current post */
    74                 esc_html__( 'Edit %s', 'wporg-main' ),
     74                esc_html__( 'Edit %s', 'wporg' ),
    7575                the_title( '<span class="screen-reader-text">"', '"</span>', false )
    7676            ),
Note: See TracChangeset for help on using the changeset viewer.