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-messages/bp-messages-template.php

    r10825 r10828  
    786786
    787787    <form action="" method="get" id="search-message-form">
    788         <label for="messages_search" class="bp-screen-reader-text"><?php esc_html_e( 'Search Messages', 'buddypress' ); ?></label>
     788        <label for="messages_search" class="bp-screen-reader-text"><?php
     789            /* translators: accessibility text */
     790            esc_html_e( 'Search Messages', 'buddypress' );
     791        ?></label>
    789792        <input type="text" name="s" id="messages_search"<?php echo $search_placeholder . $search_value; ?> />
    790793        <input type="submit" class="button" id="messages_search_submit" name="messages_search_submit" value="<?php esc_html_e( 'Search', 'buddypress' ); ?>" />
     
    928931?>
    929932
    930     <label for="message-type-select" class="bp-screen-reader-text">
    931         <?php _e( 'Select:', 'buddypress' ) ?>
    932      </label>
    933 
     933    <label for="message-type-select" class="bp-screen-reader-text"><?php
     934        /* translators: accessibility text */
     935        _e( 'Select:', 'buddypress' );
     936    ?></label>
    934937    <select name="message-type-select" id="message-type-select">
    935938        <option value=""><?php _e( 'Select', 'buddypress' ); ?></option>
     
    958961function bp_messages_bulk_management_dropdown() {
    959962    ?>
    960     <label class="bp-screen-reader-text" for="messages-select"><?php _e( 'Select Bulk Action', 'buddypress' ); ?></label>
     963    <label class="bp-screen-reader-text" for="messages-select"><?php
     964        _e( 'Select Bulk Action', 'buddypress' );
     965    ?></label>
    961966    <select name="messages_bulk_action" id="messages-select">
    962967        <option value="" selected="selected"><?php _e( 'Bulk Actions', 'buddypress' ); ?></option>
Note: See TracChangeset for help on using the changeset viewer.