Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/30/2016 06:30:16 AM (8 years ago)
Author:
mercime
Message:

Add translator comments for screen reader text in component files.

See #6951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/classes/class-bp-members-admin.php

    r10825 r10828  
    11071107        ?>
    11081108
    1109         <label for="bp-members-profile-member-type" class="screen-reader-text"><?php esc_html_e( 'Select member type', 'buddypress' ); ?></label>
     1109        <label for="bp-members-profile-member-type" class="screen-reader-text"><?php
     1110            /* translators: accessibility text */
     1111            esc_html_e( 'Select member type', 'buddypress' );
     1112        ?></label>
    11101113        <select name="bp-members-profile-member-type" id="bp-members-profile-member-type">
    1111             <option value="" <?php selected( '', $current_type ); ?>><?php /* translators: no option picked in select box */ esc_attr_e( '----', 'buddypress' ) ?></option>
     1114            <option value="" <?php selected( '', $current_type ); ?>><?php
     1115                /* translators: no option picked in select box */
     1116                esc_attr_e( '----', 'buddypress' );
     1117            ?></option>
    11121118            <?php foreach ( $types as $type ) : ?>
    11131119                <option value="<?php echo esc_attr( $type->name ) ?>" <?php selected( $type->name, $current_type ) ?>><?php echo esc_html( $type->labels['singular_name'] ) ?></option>
Note: See TracChangeset for help on using the changeset viewer.