Make WordPress Core

Changeset 37155


Ignore:
Timestamp:
04/02/2016 11:11:52 AM (8 years ago)
Author:
ocean90
Message:

I18N: Clarify translator comment for an a11y label added in [36618].

Props TacoVerdo.
See #35111.
Fixes #36396.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r37145 r37155  
    311311            <input type="search" id="user" name="user" value="<?php echo esc_attr( $user ); ?>" />
    312312            <input type="submit" class="button" value="<?php esc_attr_e( 'Get Favorites' ); ?>" />
    313             <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" /> 
     313            <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" />
    314314        </p>
    315315    </form>
     
    585585                // Avoid div-by-zero.
    586586                $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
    587                 /* translators: 1: number of stars, 2: number of reviews */
     587                /* translators: 1: number of stars (used to determine singular/plural), 2: number of reviews */
    588588                $aria_label = esc_attr( sprintf( _n( 'Reviews with %1$d star: %2$d. Opens in a new window.', 'Reviews with %1$d stars: %2$d. Opens in a new window.', $key ),
    589589                    $key,
Note: See TracChangeset for help on using the changeset viewer.