Skip to:
Content

BuddyPress.org

Changeset 11166


Ignore:
Timestamp:
09/30/2016 06:17:55 AM (4 years ago)
Author:
mercime
Message:

Add translator comments for screen-reader headings.

See #7216.

Location:
trunk/src
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r11146 r11166  
    44914491    </div>
    44924492
    4493     <h2 class="bp-screen-reader-text"><?php _e( 'Members', 'buddypress' ); ?></h2>
     4493    <h2 class="bp-screen-reader-text"><?php
     4494        /* translators: accessibility text */
     4495        _e( 'Members', 'buddypress' );
     4496    ?></h2>
    44944497
    44954498    <div id="members-group-list" class="group_members dir-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/blogs/index.php

    r11129 r11166  
    114114        </div>
    115115
    116         <h2 class="bp-screen-reader-text"><?php _e( 'Sites directory', 'buddypress' ); ?></h2>
     116        <h2 class="bp-screen-reader-text"><?php
     117            /* translators: accessibility text */
     118            _e( 'Sites directory', 'buddypress' );
     119        ?></h2>
    117120
    118121        <div id="blogs-dir-list" class="blogs dir-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php

    r11152 r11166  
    5454            <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?>
    5555
    56                 <h2 class="bp-screen-reader-text"><?php _e( 'Group Details', 'buddypress' ); ?></h2>
     56                <h2 class="bp-screen-reader-text"><?php
     57                    /* translators: accessibility text */
     58                    _e( 'Group Details', 'buddypress' );
     59                ?></h2>
    5760
    5861                <?php
     
    9295            <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?>
    9396
    94                 <h2 class="bp-screen-reader-text"><?php _e( 'Group Settings', 'buddypress' ); ?></h2>
     97                <h2 class="bp-screen-reader-text"><?php
     98                    /* translators: accessibility text */
     99                    _e( 'Group Settings', 'buddypress' );
     100                ?></h2>
    95101
    96102                <?php
     
    215221            <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?>
    216222
    217                 <h2 class="bp-screen-reader-text"><?php _e( 'Group Avatar', 'buddypress' ); ?></h2>
     223                <h2 class="bp-screen-reader-text"><?php
     224                    /* translators: accessibility text */
     225                    _e( 'Group Avatar', 'buddypress' );
     226                ?></h2>
    218227
    219228                <?php
     
    297306            <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?>
    298307
    299                 <h2 class="bp-screen-reader-text"><?php _e( 'Cover Image', 'buddypress' ); ?></h2>
     308                <h2 class="bp-screen-reader-text"><?php
     309                    /* translators: accessibility text */
     310                    _e( 'Cover Image', 'buddypress' );
     311                ?></h2>
    300312
    301313                <?php
     
    330342            <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?>
    331343
    332                 <h2 class="bp-screen-reader-text"><?php _e( 'Group Invites', 'buddypress' ); ?></h2>
     344                <h2 class="bp-screen-reader-text"><?php
     345                    /* translators: accessibility text */
     346                    _e( 'Group Invites', 'buddypress' );
     347                ?></h2>
    333348
    334349                <?php
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/index.php

    r11137 r11166  
    108108        </div>
    109109
    110         <h2 class="bp-screen-reader-text"><?php _e( 'Groups directory', 'buddypress' ); ?></h2>
     110        <h2 class="bp-screen-reader-text"><?php
     111            /* translators: accessibility text */
     112            _e( 'Groups directory', 'buddypress' );
     113        ?></h2>
    111114
    112115        <div id="groups-dir-list" class="groups dir-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php

    r11129 r11166  
    1515
    1616<?php if ( !bp_group_has_requested_membership() ) : ?>
    17     <h2 class="bp-screen-reader-text"><?php _e( 'Request form', 'buddypress' ); ?></h2>
     17    <h2 class="bp-screen-reader-text"><?php
     18        /* translators: accessibility text */
     19        _e( 'Request form', 'buddypress' );
     20    ?></h2>
    1821
    1922    <p><?php printf( __( "You are requesting to become a member of the group '%s'.", 'buddypress' ), bp_get_group_name( false ) ); ?></p>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/index.php

    r11149 r11166  
    111111        </div>
    112112
    113         <h2 class="bp-screen-reader-text"><?php _e( 'Members directory', 'buddypress' ); ?></h2>
     113        <h2 class="bp-screen-reader-text"><?php
     114            /* translators: accessibility text */
     115            _e( 'Members directory', 'buddypress' );
     116        ?></h2>
    114117
    115118        <div id="members-dir-list" class="members dir-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends.php

    r11129 r11166  
    5454
    5555        <?php if (is_user_logged_in() ) : ?>
    56             <h2 class="bp-screen-reader-text"><?php _e( 'My friends', 'buddypress' ); ?></h2>
     56            <h2 class="bp-screen-reader-text"><?php
     57                /* translators: accessibility text */
     58                _e( 'My friends', 'buddypress' );
     59            ?></h2>
    5760        <?php else : ?>
    58             <h2 class="bp-screen-reader-text"><?php _e( 'Friends', 'buddypress' ); ?></h2>
     61            <h2 class="bp-screen-reader-text"><?php
     62                /* translators: accessibility text */
     63                _e( 'Friends', 'buddypress' );
     64            ?></h2>
    5965        <?php endif ?>
    6066
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php

    r11129 r11166  
    1616<?php if ( bp_has_members( 'type=alphabetical&include=' . bp_get_friendship_requests() ) ) : ?>
    1717
    18     <h2 class="bp-screen-reader-text"><?php _e( 'Friendship requests', 'buddypress' ); ?></h2>
     18    <h2 class="bp-screen-reader-text"><?php
     19        /* translators: accessibility text */
     20        _e( 'Friendship requests', 'buddypress' );
     21    ?></h2>
    1922
    2023    <div id="pag-top" class="pagination no-ajax">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups.php

    r11129 r11166  
    5656
    5757        <?php if ( is_user_logged_in() ) : ?>
    58             <h2 class="bp-screen-reader-text"><?php _e( 'My groups', 'buddypress' ); ?></h2>
     58            <h2 class="bp-screen-reader-text"><?php
     59                /* translators: accessibility text */
     60                _e( 'My groups', 'buddypress' );
     61            ?></h2>
    5962        <?php else : ?>
    60             <h2 class="bp-screen-reader-text"><?php _e( 'Member\'s groups', 'buddypress' ); ?></h2>
     63            <h2 class="bp-screen-reader-text"><?php
     64                /* translators: accessibility text */
     65                _e( 'Member\'s groups', 'buddypress' );
     66            ?></h2>
    6167        <?php endif; ?>
    6268
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php

    r11129 r11166  
    1616<?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?>
    1717
    18     <h2 class="bp-screen-reader-text"><?php _e( 'Group invitations', 'buddypress' ); ?></h2>
     18    <h2 class="bp-screen-reader-text"><?php
     19        /* translators: accessibility text */
     20        _e( 'Group invitations', 'buddypress' );
     21    ?></h2>
    1922
    2023    <ul id="group-list" class="invites item-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages.php

    r11129 r11166  
    3939
    4040        <?php if ( bp_is_messages_inbox() ) : ?>
    41             <h2 class="bp-screen-reader-text"><?php _e( 'Messages inbox', 'buddypress' ); ?></h2>
     41            <h2 class="bp-screen-reader-text"><?php
     42                /* translators: accessibility text */
     43                _e( 'Messages inbox', 'buddypress' );
     44            ?></h2>
    4245        <?php elseif ( bp_is_messages_sentbox() ) : ?>
    43             <h2 class="bp-screen-reader-text"><?php _e( 'Sent Messages', 'buddypress' ); ?></h2>
     46            <h2 class="bp-screen-reader-text"><?php
     47                /* translators: accessibility text */
     48                _e( 'Sent Messages', 'buddypress' );
     49            ?></h2>
    4450        <?php endif; ?>
    4551
     
    7884        do_action( 'bp_before_member_messages_content' ); ?>
    7985
    80         <h2 class="bp-screen-reader-text"><?php _e( 'Sitewide Notices', 'buddypress' ); ?></h2>
     86        <h2 class="bp-screen-reader-text"><?php
     87            /* translators: accessibility text */
     88            _e( 'Sitewide Notices', 'buddypress' );
     89        ?></h2>
    8190
    8291        <div class="messages">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php

    r11129 r11166  
    88
    99?>
    10 <h2 class="bp-screen-reader-text"><?php _e( 'Compose Message', 'buddypress' ); ?></h2>
     10<h2 class="bp-screen-reader-text"><?php
     11    /* translators: accessibility text */
     12    _e( 'Compose Message', 'buddypress' );
     13?></h2>
    1114
    1215<form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php

    r11129 r11166  
    1616<?php if ( bp_has_message_threads( bp_ajax_querystring( 'messages' ) ) ) : ?>
    1717
    18     <h2 class="bp-screen-reader-text"><?php _e( 'Starred messages', 'buddypress' ); ?></h2>
     18    <h2 class="bp-screen-reader-text"><?php
     19        /* translators: accessibility text */
     20        _e( 'Starred messages', 'buddypress' );
     21    ?></h2>
    1922
    2023    <div class="pagination no-ajax" id="user-pag">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php

    r11129 r11166  
    1111<?php if ( bp_has_notifications() ) : ?>
    1212
    13     <h2 class="bp-screen-reader-text"><?php _e( 'Notifications', 'buddypress' ); ?></h2>
     13    <h2 class="bp-screen-reader-text"><?php
     14        /* translators: accessibility text */
     15        _e( 'Notifications', 'buddypress' );
     16    ?></h2>
    1417
    1518    <div id="pag-top" class="pagination no-ajax">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php

    r11129 r11166  
    1111<?php if ( bp_has_notifications() ) : ?>
    1212
    13     <h2 class="bp-screen-reader-text"><?php _e( 'Unread notifications', 'buddypress' ); ?></h2>
     13    <h2 class="bp-screen-reader-text"><?php
     14        /* translators: accessibility text */
     15        _e( 'Unread notifications', 'buddypress' );
     16    ?></h2>
    1417
    1518    <div id="pag-top" class="pagination no-ajax">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php

    r11129 r11166  
    1010do_action( 'bp_before_member_settings_template' ); ?>
    1111
    12 <h2 class="bp-screen-reader-text"><?php _e( 'Account settings', 'buddypress' ); ?></h2>
     12<h2 class="bp-screen-reader-text"><?php
     13    /* translators: accessibility text */
     14    _e( 'Account settings', 'buddypress' );
     15?></h2>
    1316
    1417<form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/general'; ?>" method="post" class="standard-form" id="settings-form">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php

    r11129 r11166  
    1010do_action( 'bp_before_member_settings_template' ); ?>
    1111
    12 <h2 class="bp-screen-reader-text"><?php _e( 'Notification settings', 'buddypress' ); ?></h2>
     12<h2 class="bp-screen-reader-text"><?php
     13    /* translators: accessibility text */
     14    _e( 'Notification settings', 'buddypress' );
     15?></h2>
    1316
    1417<form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/notifications'; ?>" method="post" class="standard-form" id="settings-form">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/profile.php

    r11129 r11166  
    1414do_action( 'bp_before_member_settings_template' ); ?>
    1515
    16 <h2 class="bp-screen-reader-text"><?php _e( 'Profile visibility settings', 'buddypress' ); ?></h2>
     16<h2 class="bp-screen-reader-text"><?php
     17    /* translators: accessibility text */
     18    _e( 'Profile visibility settings', 'buddypress' );
     19?></h2>
    1720
    1821<form action="<?php echo trailingslashit( bp_displayed_user_domain() . bp_get_settings_slug() . '/profile' ); ?>" method="post" class="standard-form" id="settings-form">
Note: See TracChangeset for help on using the changeset viewer.