WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/16/2016 11:19:05 PM (3 years ago)
Author:
SergeyBiryukov
Message:

I18N: After [38057], consistently use a context for other instances of Activate %s, Network Activate %s, and Delete %s strings.

See #37290.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/themes.php

    r38057 r38071  
    280280        <?php
    281281        /* translators: %s: Theme name */
    282         $aria_label = sprintf( __( 'Activate %s' ), '{{ data.name }}' );
     282        $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
    283283        ?>
    284284        <a class="button button-secondary activate" href="<?php echo $theme['actions']['activate']; ?>" aria-label="<?php echo esc_attr( $aria_label ); ?>"><?php _e( 'Activate' ); ?></a>
     
    409409            <?php
    410410            /* translators: %s: Theme name */
    411             $aria_label = sprintf( __( 'Activate %s' ), '{{ data.name }}' );
     411            $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
    412412            ?>
    413413            <a class="button button-secondary activate" href="{{{ data.actions.activate }}}" aria-label="<?php echo $aria_label; ?>"><?php _e( 'Activate' ); ?></a>
     
    467467                <?php
    468468                /* translators: %s: Theme name */
    469                 $aria_label = sprintf( __( 'Activate %s' ), '{{ data.name }}' );
     469                $aria_label = sprintf( _x( 'Activate %s', 'theme' ), '{{ data.name }}' );
    470470                ?>
    471471                <# if ( data.actions.activate ) { #>
Note: See TracChangeset for help on using the changeset viewer.