Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/30/2016 06:30:16 AM (9 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-xprofile/bp-xprofile-template.php

    r10825 r10828  
    929929     *    @type int             $user_id ID of the user to get field data for.
    930930     * }
    931     * @return mixed|void
     931    * @return mixed|void
    932932     */
    933933    function bp_get_profile_field_data( $args = '' ) {
     
    12611261     *    @type string $class        Class to apply to the field markup.
    12621262     * }
    1263     * @return string $retval
     1263    * @return string $retval
    12641264     */
    12651265    function bp_profile_get_visibility_radio_buttons( $args = '' ) {
     
    13721372            <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
    13731373
    1374                 <label for="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility" class="bp-screen-reader-text"><?php _e( 'Select visibility', 'buddypress' ); ?></label>
     1374                <label for="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility" class="bp-screen-reader-text"><?php
     1375                    /* translators: accessibility text */
     1376                    _e( 'Select visibility', 'buddypress' );
     1377                ?></label>
    13751378                <select class="<?php echo esc_attr( $r['class'] ); ?>" name="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility" id="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility">
    13761379
Note: See TracChangeset for help on using the changeset viewer.