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-xprofile/classes/class-bp-xprofile-field.php

    r10778 r10828  
    13151315            <h2><?php echo esc_html_x( 'Description', 'XProfile admin edit field', 'buddypress' ); ?></h2>
    13161316            <div class="inside">
    1317                 <label for="description" class="screen-reader-text"><?php esc_html_e( 'Add description', 'buddypress' ); ?></label>
     1317                <label for="description" class="screen-reader-text"><?php
     1318                    /* translators: accessibility text */
     1319                    esc_html_e( 'Add description', 'buddypress' );
     1320                ?></label>
    13181321                <textarea name="description" id="description" rows="8" cols="60"><?php echo esc_textarea( $this->description ); ?></textarea>
    13191322            </div>
     
    14681471
    14691472                <p>
    1470                     <label for="do-autolink" class="screen-reader-text"><?php esc_html_e( 'Autolink status for this field', 'buddypress' ); ?></label>
     1473                    <label for="do-autolink" class="screen-reader-text"><?php
     1474                        /* translators: accessibility text */
     1475                        esc_html_e( 'Autolink status for this field', 'buddypress' );
     1476                    ?></label>
    14711477                    <select name="do_autolink" id="do-autolink">
    14721478                        <option value="on" <?php selected( $this->get_do_autolink() ); ?>><?php esc_html_e( 'Enabled', 'buddypress' ); ?></option>
Note: See TracChangeset for help on using the changeset viewer.