Changeset 10828
- Timestamp:
- 05/30/2016 06:30:16 AM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-admin.php
r10812 r10828 799 799 ?> 800 800 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> 802 805 <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" /> 803 806 <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> … … 816 819 ?> 817 820 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> 819 825 <input type="number" name="bp-activities-userid" id="bp-activities-userid" value="<?php echo esc_attr( $item->user_id ); ?>" min="1" /> 820 826 … … 891 897 ?> 892 898 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> 894 903 <select name="bp-activities-type" id="bp-activities-type"> 895 904 <?php foreach ( $actions as $k => $v ) : ?> -
trunk/src/bp-activity/bp-activity-screens.php
r10825 r10828 335 335 <td> </td> 336 336 <td><?php printf( __( 'A member mentions you in an update using "@%s"', 'buddypress' ), bp_core_get_username( bp_displayed_user_id() ) ) ?></td> 337 <td class="yes"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-yes" value="yes" <?php checked( $mention, 'yes', true ) ?>/><label for="notification-activity-new-mention-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 338 <td class="no"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-no" value="no" <?php checked( $mention, 'no', true ) ?>/><label for="notification-activity-new-mention-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 337 <td class="yes"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-yes" value="yes" <?php checked( $mention, 'yes', true ) ?>/><label for="notification-activity-new-mention-yes" class="bp-screen-reader-text"><?php 338 /* translators: accessibility text */ 339 _e( 'Yes, send email', 'buddypress' ); 340 ?></label></td> 341 <td class="no"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-no" value="no" <?php checked( $mention, 'no', true ) ?>/><label for="notification-activity-new-mention-no" class="bp-screen-reader-text"><?php 342 /* translators: accessibility text */ 343 _e( 'No, do not send email', 'buddypress' ); 344 ?></label></td> 339 345 </tr> 340 346 <?php endif; ?> … … 343 349 <td> </td> 344 350 <td><?php _e( "A member replies to an update or comment you've posted", 'buddypress' ) ?></td> 345 <td class="yes"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-yes" value="yes" <?php checked( $reply, 'yes', true ) ?>/><label for="notification-activity-new-reply-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 346 <td class="no"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-no" value="no" <?php checked( $reply, 'no', true ) ?>/><label for="notification-activity-new-reply-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 351 <td class="yes"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-yes" value="yes" <?php checked( $reply, 'yes', true ) ?>/><label for="notification-activity-new-reply-yes" class="bp-screen-reader-text"><?php 352 /* translators: accessibility text */ 353 _e( 'Yes, send email', 'buddypress' ); 354 ?></label></td> 355 <td class="no"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-no" value="no" <?php checked( $reply, 'no', true ) ?>/><label for="notification-activity-new-reply-no" class="bp-screen-reader-text"><?php 356 /* translators: accessibility text */ 357 _e( 'No, do not send email', 'buddypress' ); 358 ?></label></td> 347 359 </tr> 348 360 -
trunk/src/bp-activity/classes/class-bp-activity-list-table.php
r10776 r10828 244 244 $this->display_tablenav( 'top' ); ?> 245 245 246 <h2 class="screen-reader-text"><?php _e( 'Activities list', 'buddypress' ); ?></h2> 246 <h2 class="screen-reader-text"><?php 247 /* translators: accessibility text */ 248 _e( 'Activities list', 'buddypress' ); 249 ?></h2> 247 250 248 251 <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> -
trunk/src/bp-core/admin/bp-core-admin-components.php
r10825 r10828 163 163 </ul> 164 164 165 <h3 class="screen-reader-text"><?php _e( 'Components list', 'buddypress' ); ?></h3> 165 <h3 class="screen-reader-text"><?php 166 /* translators: accessibility text */ 167 _e( 'Components list', 'buddypress' ); 168 ?></h3> 166 169 167 170 <table class="wp-list-table widefat plugins"> 168 171 <thead> 169 172 <tr> 170 <td id="cb" class="manage-column column-cb check-column"><input id="cb-select-all-1" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-1"><?php _e( 'Bulk selection is disabled', 'buddypress' ); ?></label></td> 173 <td id="cb" class="manage-column column-cb check-column"><input id="cb-select-all-1" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-1"><?php 174 /* translators: accessibility text */ 175 _e( 'Bulk selection is disabled', 'buddypress' ); 176 ?></label></td> 171 177 <th scope="col" id="name" class="manage-column column-title column-primary"><?php _e( 'Component', 'buddypress' ); ?></th> 172 178 <th scope="col" id="description" class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th> … … 227 233 <tfoot> 228 234 <tr> 229 <td class="manage-column column-cb check-column"><input id="cb-select-all-2" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-2"><?php _e( 'Bulk selection is disabled', 'buddypress' ); ?></label></td> 235 <td class="manage-column column-cb check-column"><input id="cb-select-all-2" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-2"><?php 236 /* translators: accessibility text */ 237 _e( 'Bulk selection is disabled', 'buddypress' ); 238 ?></label></td> 230 239 <th class="manage-column column-title column-primary"><?php _e( 'Component', 'buddypress' ); ?></th> 231 240 <th class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th> -
trunk/src/bp-core/admin/bp-core-admin-functions.php
r10825 r10828 934 934 ?> 935 935 936 <label class="screen-reader-text" for="excerpt"><?php _e( 'Plain text email content', 'buddypress' ); ?></label><textarea rows="5" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea> 936 <label class="screen-reader-text" for="excerpt"><?php 937 /* translators: accessibility text */ 938 _e( 'Plain text email content', 'buddypress' ); 939 ?></label><textarea rows="5" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea> 937 940 938 941 <p><?php _e( 'Most email clients support HTML email. However, some people prefer to receive plain text email. Enter a plain text alternative version of your email here.', 'buddypress' ); ?></p> -
trunk/src/bp-core/admin/bp-core-admin-tools.php
r10815 r10828 35 35 <td> 36 36 <fieldset> 37 <legend class="screen-reader-text"><span><?php esc_html_e( 'Repair', 'buddypress' ) ?></span></legend> 37 <legend class="screen-reader-text"><span><?php 38 /* translators: accessibility text */ 39 esc_html_e( 'Repair', 'buddypress' ); 40 ?></span></legend> 38 41 39 42 <?php foreach ( bp_admin_repair_list() as $item ) : ?> -
trunk/src/bp-friends/bp-friends-screens.php
r10587 r10828 123 123 <td></td> 124 124 <td><?php _ex( 'A member sends you a friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td> 125 <td class="yes"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-yes" value="yes" <?php checked( $send_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-request-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 126 <td class="no"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-no" value="no" <?php checked( $send_requests, 'no', true ) ?>/><label for="notification-friends-friendship-request-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 125 <td class="yes"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-yes" value="yes" <?php checked( $send_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-request-yes" class="bp-screen-reader-text"><?php 126 /* translators: accessibility text */ 127 _e( 'Yes, send email', 'buddypress' ); 128 ?></label></td> 129 <td class="no"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-no" value="no" <?php checked( $send_requests, 'no', true ) ?>/><label for="notification-friends-friendship-request-no" class="bp-screen-reader-text"><?php 130 /* translators: accessibility text */ 131 _e( 'No, do not send email', 'buddypress' ); 132 ?></label></td> 127 133 </tr> 128 134 <tr id="friends-notification-settings-accepted"> 129 135 <td></td> 130 136 <td><?php _ex( 'A member accepts your friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td> 131 <td class="yes"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-yes" value="yes" <?php checked( $accept_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-accepted-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 132 <td class="no"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-no" value="no" <?php checked( $accept_requests, 'no', true ) ?>/><label for="notification-friends-friendship-accepted-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 137 <td class="yes"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-yes" value="yes" <?php checked( $accept_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-accepted-yes" class="bp-screen-reader-text"><?php 138 /* translators: accessibility text */ 139 _e( 'Yes, send email', 'buddypress' ); 140 ?></label></td> 141 <td class="no"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-no" value="no" <?php checked( $accept_requests, 'no', true ) ?>/><label for="notification-friends-friendship-accepted-no" class="bp-screen-reader-text"><?php 142 /* translators: accessibility text */ 143 _e( 'No, do not send email', 'buddypress' ); 144 ?></label></td> 133 145 </tr> 134 146 -
trunk/src/bp-groups/bp-groups-admin.php
r10775 r10828 611 611 <h2><?php _e( 'Name and Description', 'buddypress' ); ?></h2> 612 612 <div class="inside"> 613 <label for="bp-groups-name" class="screen-reader-text"><?php _e( 'Group Name', 'buddypress' ); ?></label> 613 <label for="bp-groups-name" class="screen-reader-text"><?php 614 /* translators: accessibility text */ 615 _e( 'Group Name', 'buddypress' ); 616 ?></label> 614 617 <input type="text" name="bp-groups-name" id="bp-groups-name" value="<?php echo esc_attr( stripslashes( $group_name ) ) ?>" /> 615 618 <div id="bp-groups-permalink-box"> … … 617 620 </div> 618 621 619 <label for="bp-groups-description" class="screen-reader-text"><?php _e( 'Group Description', 'buddypress' ); ?></label> 622 <label for="bp-groups-description" class="screen-reader-text"><?php 623 /* translators: accessibility text */ 624 _e( 'Group Description', 'buddypress' ); 625 ?></label> 620 626 <?php wp_editor( stripslashes( $group->description ), 'bp-groups-description', array( 'media_buttons' => false, 'teeny' => true, 'textarea_rows' => 5, 'quicktags' => array( 'buttons' => 'strong,em,link,block,del,ins,img,code,spell,close' ) ) ); ?> 621 627 </div> … … 834 840 ?> 835 841 836 <label for="bp-groups-new-members" class="screen-reader-text"><?php _e( 'Add new members', 'buddypress' ); ?></label> 842 <label for="bp-groups-new-members" class="screen-reader-text"><?php 843 /* translators: accessibility text */ 844 _e( 'Add new members', 'buddypress' ); 845 ?></label> 837 846 <input name="bp-groups-new-members" id="bp-groups-new-members" class="bp-suggest-user" placeholder="<?php esc_attr_e( 'Enter a comma-separated list of user logins.', 'buddypress' ) ?>" /> 838 847 <ul id="bp-groups-new-members-list"></ul> … … 928 937 929 938 <td class="urole-column"> 930 <label for="bp-groups-role-<?php echo esc_attr( $type_user->ID ); ?>" class="screen-reader-text"><?php _e( 'Select group role for member', 'buddypress' ); ?></label> 939 <label for="bp-groups-role-<?php echo esc_attr( $type_user->ID ); ?>" class="screen-reader-text"><?php 940 /* translators: accessibility text */ 941 _e( 'Select group role for member', 'buddypress' ); 942 ?></label> 931 943 <select class="bp-groups-role" id="bp-groups-role-<?php echo esc_attr( $type_user->ID ); ?>" name="bp-groups-role[<?php echo esc_attr( $type_user->ID ); ?>]"> 932 944 <optgroup label="<?php esc_attr_e( 'Roles', 'buddypress' ); ?>"> … … 1043 1055 ?> 1044 1056 1045 <label for="bp-groups-group-type" class="screen-reader-text"><?php esc_html_e( 'Select group type', 'buddypress' ); ?></label> 1057 <label for="bp-groups-group-type" class="screen-reader-text"><?php 1058 /* translators: accessibility text */ 1059 esc_html_e( 'Select group type', 'buddypress' ); 1060 ?></label> 1046 1061 <select name="bp-groups-group-type" id="bp-groups-group-type"> 1047 1062 <option value="" <?php selected( '', $current_type ); ?>><?php /* translators: no option picked in select box */ esc_attr_e( '----', 'buddypress' ) ?></option> -
trunk/src/bp-groups/bp-groups-screens.php
r10820 r10828 1445 1445 <td></td> 1446 1446 <td><?php _ex( 'A member invites you to join a group', 'group settings on notification settings page','buddypress' ) ?></td> 1447 <td class="yes"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-yes" value="yes" <?php checked( $group_invite, 'yes', true ) ?>/><label for="notification-groups-invite-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 1448 <td class="no"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-no" value="no" <?php checked( $group_invite, 'no', true ) ?>/><label for="notification-groups-invite-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 1447 <td class="yes"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-yes" value="yes" <?php checked( $group_invite, 'yes', true ) ?>/><label for="notification-groups-invite-yes" class="bp-screen-reader-text"><?php 1448 /* translators: accessibility text */ 1449 _e( 'Yes, send email', 'buddypress' ); 1450 ?></label></td> 1451 <td class="no"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-no" value="no" <?php checked( $group_invite, 'no', true ) ?>/><label for="notification-groups-invite-no" class="bp-screen-reader-text"><?php 1452 /* translators: accessibility text */ 1453 _e( 'No, do not send email', 'buddypress' ); 1454 ?></label></td> 1449 1455 </tr> 1450 1456 <tr id="groups-notification-settings-info-updated"> 1451 1457 <td></td> 1452 1458 <td><?php _ex( 'Group information is updated', 'group settings on notification settings page', 'buddypress' ) ?></td> 1453 <td class="yes"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-yes" value="yes" <?php checked( $group_update, 'yes', true ) ?>/><label for="notification-groups-group-updated-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 1454 <td class="no"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-no" value="no" <?php checked( $group_update, 'no', true ) ?>/><label for="notification-groups-group-updated-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 1459 <td class="yes"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-yes" value="yes" <?php checked( $group_update, 'yes', true ) ?>/><label for="notification-groups-group-updated-yes" class="bp-screen-reader-text"><?php 1460 /* translators: accessibility text */ 1461 _e( 'Yes, send email', 'buddypress' ); 1462 ?></label></td> 1463 <td class="no"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-no" value="no" <?php checked( $group_update, 'no', true ) ?>/><label for="notification-groups-group-updated-no" class="bp-screen-reader-text"><?php 1464 /* translators: accessibility text */ 1465 _e( 'No, do not send email', 'buddypress' ); 1466 ?></label></td> 1455 1467 </tr> 1456 1468 <tr id="groups-notification-settings-promoted"> 1457 1469 <td></td> 1458 1470 <td><?php _ex( 'You are promoted to a group administrator or moderator', 'group settings on notification settings page', 'buddypress' ) ?></td> 1459 <td class="yes"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-yes" value="yes" <?php checked( $group_promo, 'yes', true ) ?>/><label for="notification-groups-admin-promotion-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 1460 <td class="no"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-no" value="no" <?php checked( $group_promo, 'no', true ) ?>/><label for="notification-groups-admin-promotion-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 1471 <td class="yes"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-yes" value="yes" <?php checked( $group_promo, 'yes', true ) ?>/><label for="notification-groups-admin-promotion-yes" class="bp-screen-reader-text"><?php 1472 /* translators: accessibility text */ 1473 _e( 'Yes, send email', 'buddypress' ); 1474 ?></label></td> 1475 <td class="no"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-no" value="no" <?php checked( $group_promo, 'no', true ) ?>/><label for="notification-groups-admin-promotion-no" class="bp-screen-reader-text"><?php 1476 /* translators: accessibility text */ 1477 _e( 'No, do not send email', 'buddypress' ); 1478 ?></label></td> 1461 1479 </tr> 1462 1480 <tr id="groups-notification-settings-request"> 1463 1481 <td></td> 1464 1482 <td><?php _ex( 'A member requests to join a private group for which you are an admin', 'group settings on notification settings page', 'buddypress' ) ?></td> 1465 <td class="yes"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-yes" value="yes" <?php checked( $group_request, 'yes', true ) ?>/><label for="notification-groups-membership-request-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 1466 <td class="no"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-no" value="no" <?php checked( $group_request, 'no', true ) ?>/><label for="notification-groups-membership-request-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 1483 <td class="yes"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-yes" value="yes" <?php checked( $group_request, 'yes', true ) ?>/><label for="notification-groups-membership-request-yes" class="bp-screen-reader-text"><?php 1484 /* translators: accessibility text */ 1485 _e( 'Yes, send email', 'buddypress' ); 1486 ?></label></td> 1487 <td class="no"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-no" value="no" <?php checked( $group_request, 'no', true ) ?>/><label for="notification-groups-membership-request-no" class="bp-screen-reader-text"><?php 1488 /* translators: accessibility text */ 1489 _e( 'No, do not send email', 'buddypress' ); 1490 ?></label></td> 1467 1491 </tr> 1468 1492 <tr id="groups-notification-settings-request-completed"> 1469 1493 <td></td> 1470 1494 <td><?php _ex( 'Your request to join a group has been approved or denied', 'group settings on notification settings page', 'buddypress' ) ?></td> 1471 <td class="yes"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-yes" value="yes" <?php checked( $group_request_completed, 'yes', true ) ?>/><label for="notification-groups-membership-request-completed-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 1472 <td class="no"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-no" value="no" <?php checked( $group_request_completed, 'no', true ) ?>/><label for="notification-groups-membership-request-completed-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 1495 <td class="yes"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-yes" value="yes" <?php checked( $group_request_completed, 'yes', true ) ?>/><label for="notification-groups-membership-request-completed-yes" class="bp-screen-reader-text"><?php 1496 /* translators: accessibility text */ 1497 _e( 'Yes, send email', 'buddypress' ); 1498 ?></label></td> 1499 <td class="no"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-no" value="no" <?php checked( $group_request_completed, 'no', true ) ?>/><label for="notification-groups-membership-request-completed-no" class="bp-screen-reader-text"><?php 1500 /* translators: accessibility text */ 1501 _e( 'No, do not send email', 'buddypress' ); 1502 ?></label></td> 1473 1503 </tr> 1474 1504 -
trunk/src/bp-members/classes/class-bp-members-admin.php
r10825 r10828 1107 1107 ?> 1108 1108 1109 <label for="bp-members-profile-member-type" class="screen-reader-text"><?php esc_html_e( 'Select member type', 'buddypress' ); ?></label> 1109 <label for="bp-members-profile-member-type" class="screen-reader-text"><?php 1110 /* translators: accessibility text */ 1111 esc_html_e( 'Select member type', 'buddypress' ); 1112 ?></label> 1110 1113 <select name="bp-members-profile-member-type" id="bp-members-profile-member-type"> 1111 <option value="" <?php selected( '', $current_type ); ?>><?php /* translators: no option picked in select box */ esc_attr_e( '----', 'buddypress' ) ?></option> 1114 <option value="" <?php selected( '', $current_type ); ?>><?php 1115 /* translators: no option picked in select box */ 1116 esc_attr_e( '----', 'buddypress' ); 1117 ?></option> 1112 1118 <?php foreach ( $types as $type ) : ?> 1113 1119 <option value="<?php echo esc_attr( $type->name ) ?>" <?php selected( $type->name, $current_type ) ?>><?php echo esc_html( $type->labels['singular_name'] ) ?></option> -
trunk/src/bp-messages/bp-messages-screens.php
r10745 r10828 217 217 <td></td> 218 218 <td><?php _e( 'A member sends you a new message', 'buddypress' ) ?></td> 219 <td class="yes"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-yes" value="yes" <?php checked( $new_messages, 'yes', true ) ?>/><label for="notification-messages-new-messages-yes" class="bp-screen-reader-text"><?php _e( 'Yes, send email', 'buddypress' ); ?></label></td> 220 <td class="no"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-no" value="no" <?php checked( $new_messages, 'no', true ) ?>/><label for="notification-messages-new-messages-no" class="bp-screen-reader-text"><?php _e( 'No, do not send email', 'buddypress' ); ?></label></td> 219 <td class="yes"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-yes" value="yes" <?php checked( $new_messages, 'yes', true ) ?>/><label for="notification-messages-new-messages-yes" class="bp-screen-reader-text"><?php 220 /* translators: accessibility text */ 221 _e( 'Yes, send email', 'buddypress' ); 222 ?></label></td> 223 <td class="no"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-no" value="no" <?php checked( $new_messages, 'no', true ) ?>/><label for="notification-messages-new-messages-no" class="bp-screen-reader-text"><?php 224 /* translators: accessibility text */ 225 _e( 'No, do not send email', 'buddypress' ); 226 ?></label></td> 221 227 </tr> 222 228 -
trunk/src/bp-messages/bp-messages-template.php
r10825 r10828 786 786 787 787 <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> 789 792 <input type="text" name="s" id="messages_search"<?php echo $search_placeholder . $search_value; ?> /> 790 793 <input type="submit" class="button" id="messages_search_submit" name="messages_search_submit" value="<?php esc_html_e( 'Search', 'buddypress' ); ?>" /> … … 928 931 ?> 929 932 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> 934 937 <select name="message-type-select" id="message-type-select"> 935 938 <option value=""><?php _e( 'Select', 'buddypress' ); ?></option> … … 958 961 function bp_messages_bulk_management_dropdown() { 959 962 ?> 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> 961 966 <select name="messages_bulk_action" id="messages-select"> 962 967 <option value="" selected="selected"><?php _e( 'Bulk Actions', 'buddypress' ); ?></option> -
trunk/src/bp-notifications/bp-notifications-template.php
r10817 r10828 1024 1024 function bp_notifications_bulk_management_dropdown() { 1025 1025 ?> 1026 <label class="bp-screen-reader-text" for="notification-select"><?php _e( 'Select Bulk Action', 'buddypress' ); ?></label> 1026 <label class="bp-screen-reader-text" for="notification-select"><?php 1027 /* translators: accessibility text */ 1028 _e( 'Select Bulk Action', 'buddypress' ); 1029 ?></label> 1027 1030 <select name="notification_bulk_action" id="notification-select"> 1028 1031 <option value="" selected="selected"><?php _e( 'Bulk Actions', 'buddypress' ); ?></option> -
trunk/src/bp-xprofile/bp-xprofile-template.php
r10825 r10828 929 929 * @type int $user_id ID of the user to get field data for. 930 930 * } 931 931 * @return mixed|void 932 932 */ 933 933 function bp_get_profile_field_data( $args = '' ) { … … 1261 1261 * @type string $class Class to apply to the field markup. 1262 1262 * } 1263 1263 * @return string $retval 1264 1264 */ 1265 1265 function bp_profile_get_visibility_radio_buttons( $args = '' ) { … … 1372 1372 <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> 1373 1373 1374 <label for="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility" class="bp-screen-reader-text"><?php _e( 'Select visibility', 'buddypress' ); ?></label> 1374 <label for="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility" class="bp-screen-reader-text"><?php 1375 /* translators: accessibility text */ 1376 _e( 'Select visibility', 'buddypress' ); 1377 ?></label> 1375 1378 <select class="<?php echo esc_attr( $r['class'] ); ?>" name="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility" id="<?php echo esc_attr( 'field_' . $r['field_id'] ) ; ?>_visibility"> 1376 1379 -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
r10798 r10828 100 100 do_action( bp_get_the_profile_field_errors_action() ); ?> 101 101 102 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select day', 'buddypress' ); ?></label> 102 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php 103 /* translators: accessibility text */ 104 esc_html_e( 'Select day', 'buddypress' ); 105 ?></label> 103 106 <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>> 104 107 <?php bp_the_profile_field_options( array( … … 108 111 </select> 109 112 110 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select month', 'buddypress' ); ?></label> 113 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php 114 /* translators: accessibility text */ 115 esc_html_e( 'Select month', 'buddypress' ); 116 ?></label> 111 117 <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>> 112 118 <?php bp_the_profile_field_options( array( … … 116 122 </select> 117 123 118 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php esc_html_e( 'Select year', 'buddypress' ); ?></label> 124 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="<?php echo is_admin() ? 'screen-reader-text' : 'bp-screen-reader-text' ;?>"><?php 125 /* translators: accessibility text */ 126 esc_html_e( 'Select year', 'buddypress' ); 127 ?></label> 119 128 <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>> 120 129 <?php bp_the_profile_field_options( array( … … 275 284 ) ); ?> 276 285 277 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="screen-reader-text"><?php esc_html_e( 'Select day', 'buddypress' ); ?></label> 286 <label for="<?php bp_the_profile_field_input_name(); ?>_day" class="screen-reader-text"><?php 287 /* translators: accessibility text */ 288 esc_html_e( 'Select day', 'buddypress' ); 289 ?></label> 278 290 <select <?php echo $this->get_edit_field_html_elements( $day_r ); ?>> 279 291 <?php bp_the_profile_field_options( array( 'type' => 'day' ) ); ?> 280 292 </select> 281 293 282 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="screen-reader-text"><?php esc_html_e( 'Select month', 'buddypress' ); ?></label> 294 <label for="<?php bp_the_profile_field_input_name(); ?>_month" class="screen-reader-text"><?php 295 /* translators: accessibility text */ 296 esc_html_e( 'Select month', 'buddypress' ); 297 ?></label> 283 298 <select <?php echo $this->get_edit_field_html_elements( $month_r ); ?>> 284 299 <?php bp_the_profile_field_options( array( 'type' => 'month' ) ); ?> 285 300 </select> 286 301 287 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="screen-reader-text"><?php esc_html_e( 'Select year', 'buddypress' ); ?></label> 302 <label for="<?php bp_the_profile_field_input_name(); ?>_year" class="screen-reader-text"><?php 303 /* translators: accessibility text */ 304 esc_html_e( 'Select year', 'buddypress' ); 305 ?></label> 288 306 <select <?php echo $this->get_edit_field_html_elements( $year_r ); ?>> 289 307 <?php bp_the_profile_field_options( array( 'type' => 'year' ) ); ?> -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php
r10417 r10828 184 184 ) ); ?> 185 185 186 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php esc_html_e( 'Select', 'buddypress' ); ?></label> 186 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php 187 /* translators: accessibility text */ 188 esc_html_e( 'Select', 'buddypress' ); 189 ?></label> 187 190 <select <?php echo $this->get_edit_field_html_elements( $r ); ?>> 188 191 <?php bp_the_profile_field_options(); ?> -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php
r10417 r10828 95 95 ) ); ?> 96 96 97 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php esc_html_e( 'Number field', 'buddypress' ); ?></label> 97 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php 98 /* translators: accessibility text */ 99 esc_html_e( 'Number field', 'buddypress' ); 100 ?></label> 98 101 <input <?php echo $this->get_edit_field_html_elements( $r ); ?>> 99 102 <?php -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php
r10417 r10828 165 165 ?> 166 166 167 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php esc_html_e( 'Select', 'buddypress' ); ?></label> 167 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php 168 /* translators: accessibility text */ 169 esc_html_e( 'Select', 'buddypress' ); 170 ?></label> 168 171 <select <?php echo $this->get_edit_field_html_elements( $raw_properties ); ?>> 169 172 <?php bp_the_profile_field_options(); ?> -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php
r10417 r10828 95 95 ) ); ?> 96 96 97 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php esc_html_e( 'Textbox', 'buddypress' ); ?></label> 97 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php 98 /* translators: accessibility text */ 99 esc_html_e( 'Textbox', 'buddypress' ); 100 ?></label> 98 101 <input <?php echo $this->get_edit_field_html_elements( $r ); ?>> 99 102 -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
r10592 r10828 366 366 <div id="<?php echo esc_attr( "{$type}_div{$j}" ); ?>" class="bp-option sortable"> 367 367 <span class="bp-option-icon grabber"></span> 368 <label for="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" class="screen-reader-text"><?php esc_html_e( 'Add an option', 'buddypress' ); ?></label> 368 <label for="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" class="screen-reader-text"><?php 369 /* translators: accessibility text */ 370 esc_html_e( 'Add an option', 'buddypress' ); 371 ?></label> 369 372 <input type="text" name="<?php echo esc_attr( "{$type}_option[{$j}]" ); ?>" id="<?php echo esc_attr( "{$type}_option{$j}" ); ?>" value="<?php echo esc_attr( stripslashes( $options[$i]->name ) ); ?>" /> 370 373 <label for="<?php echo esc_attr( "{$type}_option{$default_name}" ); ?>"> -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php
r10778 r10828 1315 1315 <h2><?php echo esc_html_x( 'Description', 'XProfile admin edit field', 'buddypress' ); ?></h2> 1316 1316 <div class="inside"> 1317 <label for="description" class="screen-reader-text"><?php esc_html_e( 'Add description', 'buddypress' ); ?></label> 1317 <label for="description" class="screen-reader-text"><?php 1318 /* translators: accessibility text */ 1319 esc_html_e( 'Add description', 'buddypress' ); 1320 ?></label> 1318 1321 <textarea name="description" id="description" rows="8" cols="60"><?php echo esc_textarea( $this->description ); ?></textarea> 1319 1322 </div> … … 1468 1471 1469 1472 <p> 1470 <label for="do-autolink" class="screen-reader-text"><?php esc_html_e( 'Autolink status for this field', 'buddypress' ); ?></label> 1473 <label for="do-autolink" class="screen-reader-text"><?php 1474 /* translators: accessibility text */ 1475 esc_html_e( 'Autolink status for this field', 'buddypress' ); 1476 ?></label> 1471 1477 <select name="do_autolink" id="do-autolink"> 1472 1478 <option value="on" <?php selected( $this->get_do_autolink() ); ?>><?php esc_html_e( 'Enabled', 'buddypress' ); ?></option> -
trunk/src/bp-xprofile/classes/class-bp-xprofile-group.php
r10740 r10828 745 745 <h2><?php esc_html_e( 'Field Group Description', 'buddypress' ); ?></h2> 746 746 <div class="inside"> 747 <label for="group_description" class="screen-reader-text"><?php esc_html_e( 'Add description', 'buddypress' ); ?></label> 747 <label for="group_description" class="screen-reader-text"><?php 748 /* translators: accessibility text */ 749 esc_html_e( 'Add description', 'buddypress' ); 750 ?></label> 748 751 <textarea name="group_description" id="group_description" rows="8" cols="60"><?php echo esc_textarea( $this->description ); ?></textarea> 749 752 </div>
Note: See TracChangeset
for help on using the changeset viewer.