Skip to:
Content

BuddyPress.org

Changeset 10739


Ignore:
Timestamp:
05/06/2016 12:57:48 AM (4 years ago)
Author:
mercime
Message:

Add translator comments for the accessibility headings in BP admin pages.

Props SergeyBiryukov, slaFFik.
See #6951.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r10673 r10739  
    302302        if ( bp_get_major_wp_version() >= 4.4 ) {
    303303            get_current_screen()->set_screen_reader_content( array(
     304                /* translators: accessibility text */
    304305                'heading_pagination' => __( 'Activity list navigation', 'buddypress' ),
    305306            ) );
  • trunk/src/bp-activity/classes/class-bp-activity-list-table.php

    r10590 r10739  
    305305        $url_base = add_query_arg( array( 'page' => 'bp-activity' ), bp_get_admin_url( 'admin.php' ) ); ?>
    306306
    307         <h2 class="screen-reader-text"><?php _e( 'Filter activities list', 'buddypress' ); ?></h2>
     307        <h2 class="screen-reader-text"><?php
     308            /* translators: accessibility text */
     309            _e( 'Filter activities list', 'buddypress' );
     310        ?></h2>
    308311
    309312        <ul class="subsubsub">
     
    415418
    416419        <div class="alignleft actions">
    417             <label for="activity-type" class="screen-reader-text"><?php _e( 'Filter by activity type', 'buddypress' ); ?></label>
     420            <label for="activity-type" class="screen-reader-text"><?php
     421                /* translators: accessibility text */
     422                _e( 'Filter by activity type', 'buddypress' );
     423            ?></label>
    418424            <select name="activity_type" id="activity-type">
    419425                <option value="" <?php selected( ! $selected ); ?>><?php _e( 'View all actions', 'buddypress' ); ?></option>
  • trunk/src/bp-core/admin/bp-core-admin-components.php

    r10726 r10739  
    151151    } ?>
    152152
    153     <h3 class="screen-reader-text"><?php _e( 'Filter components list', 'buddypress' ); ?></h3>
     153    <h3 class="screen-reader-text"><?php
     154        /* translators: accessibility text */
     155        _e( 'Filter components list', 'buddypress' );
     156    ?></h3>
    154157
    155158    <ul class="subsubsub">
  • trunk/src/bp-groups/bp-groups-admin.php

    r10673 r10739  
    180180        if ( bp_get_major_wp_version() >= 4.4 ) {
    181181            get_current_screen()->set_screen_reader_content( array(
     182                /* translators: accessibility text */
    182183                'heading_pagination' => __( 'Groups list navigation', 'buddypress' ),
    183184            ) );
  • trunk/src/bp-groups/classes/class-bp-groups-list-table.php

    r10520 r10739  
    217217        $this->display_tablenav( 'top' ); ?>
    218218
    219         <h2 class="screen-reader-text"><?php _e( 'Groups list', 'buddypress' ); ?></h2>
     219        <h2 class="screen-reader-text"><?php
     220            /* translators: accessibility text */
     221            _e( 'Groups list', 'buddypress' );
     222        ?></h2>
    220223
    221224        <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0">
     
    285288        $url_base = bp_get_admin_url( 'admin.php?page=bp-groups' ); ?>
    286289
    287         <h2 class="screen-reader-text"><?php _e( 'Filter groups list', 'buddypress' ); ?></h2>
     290        <h2 class="screen-reader-text"><?php
     291            /* translators: accessibility text */
     292            _e( 'Filter groups list', 'buddypress' );
     293        ?></h2>
    288294
    289295        <ul class="subsubsub">
  • trunk/src/bp-members/classes/class-bp-members-admin.php

    r10673 r10739  
    14621462            if ( bp_get_major_wp_version() >= 4.4 ) {
    14631463                get_current_screen()->set_screen_reader_content( array(
     1464                    /* translators: accessibility text */
    14641465                    'heading_views'      => __( 'Filter users list', 'buddypress' ),
     1466                    /* translators: accessibility text */
    14651467                    'heading_pagination' => __( 'Pending users list navigation', 'buddypress' ),
     1468                    /* translators: accessibility text */
    14661469                    'heading_list'       => __( 'Pending users list', 'buddypress' ),
    14671470                ) );
Note: See TracChangeset for help on using the changeset viewer.