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-activity/bp-activity-admin.php

    r10812 r10828  
    799799?>
    800800
    801     <label class="screen-reader-text" for="bp-activities-link"><?php _e( 'Link', 'buddypress' ); ?></label>
     801    <label class="screen-reader-text" for="bp-activities-link"><?php
     802        /* translators: accessibility text */
     803        _e( 'Link', 'buddypress' );
     804    ?></label>
    802805    <input type="url" name="bp-activities-link" id="bp-activities-link" value="<?php echo esc_url( $item->primary_link ); ?>" aria-describedby="bp-activities-link-description" />
    803806    <p id="bp-activities-link-description"><?php _e( 'Activity generated by posts and comments, forum topics and replies, and some plugins, uses the link field for a permalink back to the content item.', 'buddypress' ); ?></p>
     
    816819?>
    817820
    818     <label class="screen-reader-text" for="bp-activities-userid"><?php _e( 'Author ID', 'buddypress' ); ?></label>
     821    <label class="screen-reader-text" for="bp-activities-userid"><?php
     822        /* translators: accessibility text */
     823        _e( 'Author ID', 'buddypress' );
     824    ?></label>
    819825    <input type="number" name="bp-activities-userid" id="bp-activities-userid" value="<?php echo esc_attr( $item->user_id ); ?>" min="1" />
    820826
     
    891897    ?>
    892898
    893     <label for="bp-activities-type" class="screen-reader-text"><?php esc_html_e( 'Select activity type', 'buddypress' ); ?></label>
     899    <label for="bp-activities-type" class="screen-reader-text"><?php
     900        /* translators: accessibility text */
     901        esc_html_e( 'Select activity type', 'buddypress' );
     902    ?></label>
    894903    <select name="bp-activities-type" id="bp-activities-type">
    895904        <?php foreach ( $actions as $k => $v ) : ?>
Note: See TracChangeset for help on using the changeset viewer.