Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/30/2016 06:25:12 AM (3 years ago)
Author:
mercime
Message:

Add translator comments for screen reader text in bp-legacy files.

See #6951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php

    r10564 r10827  
    5252            <thead>
    5353                <tr>
    54                     <th scope="col" class="thread-checkbox bulk-select-all"><input id="select-all-messages" type="checkbox"><label class="bp-screen-reader-text" for="select-all-messages"><?php _e( 'Select all', 'buddypress' ); ?></label></th>
     54                    <th scope="col" class="thread-checkbox bulk-select-all"><input id="select-all-messages" type="checkbox"><label class="bp-screen-reader-text" for="select-all-messages"><?php
     55                        /* translators: accessibility text */
     56                        _e( 'Select all', 'buddypress' );
     57                    ?></label></th>
    5558                    <th scope="col" class="thread-from"><?php _e( 'From', 'buddypress' ); ?></th>
    5659                    <th scope="col" class="thread-info"><?php _e( 'Subject', 'buddypress' ); ?></th>
     
    6972
    7073                    <?php if ( bp_is_active( 'messages', 'star' ) ) : ?>
    71                         <th scope="col" class="thread-star"><span class="message-action-star"><span class="icon"></span> <span class="screen-reader-text"><?php _e( 'Star', 'buddypress' ); ?></span></span></th>
     74                        <th scope="col" class="thread-star"><span class="message-action-star"><span class="icon"></span> <span class="screen-reader-text"><?php
     75                            /* translators: accessibility text */
     76                            _e( 'Star', 'buddypress' );
     77                        ?></span></span></th>
    7278                    <?php endif; ?>
    7379
     
    8288                    <tr id="m-<?php bp_message_thread_id(); ?>" class="<?php bp_message_css_class(); ?><?php if ( bp_message_thread_has_unread() ) : ?> unread<?php else: ?> read<?php endif; ?>">
    8389                        <td class="bulk-select-check">
    84                             <label for="bp-message-thread-<?php bp_message_thread_id(); ?>"><input type="checkbox" name="message_ids[]" id="bp-message-thread-<?php bp_message_thread_id(); ?>" class="message-check" value="<?php bp_message_thread_id(); ?>" /><span class="bp-screen-reader-text"><?php _e( 'Select this message', 'buddypress' ); ?></span></label>
     90                            <label for="bp-message-thread-<?php bp_message_thread_id(); ?>"><input type="checkbox" name="message_ids[]" id="bp-message-thread-<?php bp_message_thread_id(); ?>" class="message-check" value="<?php bp_message_thread_id(); ?>" /><span class="bp-screen-reader-text"><?php
     91                                /* translators: accessibility text */
     92                                _e( 'Select this message', 'buddypress' );
     93                            ?></span></label>
    8594                        </td>
    8695
Note: See TracChangeset for help on using the changeset viewer.