Ticket #6951: 6951.3.patch
File 6951.3.patch, 9.1 KB (added by , 8 years ago) |
---|
-
src/bp-activity/bp-activity-admin.php
1043 1043 1044 1044 <h3 id="bp-replyhead"><?php _e( 'Reply to Activity', 'buddypress' ); ?></h3> 1045 1045 <label for="bp-activities" class="screen-reader-text"><?php 1046 1047 1048 1046 /* translators: accessibility text */ 1047 _e( 'Reply', 'buddypress' ); 1048 ?></label> 1049 1049 <?php wp_editor( '', 'bp-activities', array( 'dfw' => false, 'media_buttons' => false, 'quicktags' => array( 'buttons' => 'strong,em,link,block,del,ins,img,code,spell,close' ), 'tinymce' => false, ) ); ?> 1050 1050 1051 1051 <p id="bp-replysubmit" class="submit"> -
src/bp-activity/classes/class-bp-activity-list-table.php
497 497 * @param array $item A singular item (one full row). 498 498 */ 499 499 function column_cb( $item ) { 500 /* translators: accessibility text */ 500 501 printf( '<label class="screen-reader-text" for="aid-%1$d">' . __( 'Select activity item %1$d', 'buddypress' ) . '</label><input type="checkbox" name="aid[]" value="%1$d" id="aid-%1$d" />', $item['id'] ); 501 502 } 502 503 -
src/bp-activity/classes/class-bp-activity-oembed-extension.php
311 311 <?php 312 312 printf( 313 313 _n( 314 /* translators: accessibility text */ 314 315 '%s <span class="screen-reader-text">Comment</span>', 316 /* translators: accessibility text */ 315 317 '%s <span class="screen-reader-text">Comments</span>', 316 318 $count, 317 319 'buddypress' -
src/bp-core/admin/bp-core-admin-components.php
196 196 197 197 <?php if ( !in_array( $name, array( 'core', 'members' ) ) ) : ?> 198 198 199 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> /><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php printf( __( 'Select %s', 'buddypress' ), esc_html( $labels['title'] ) ); ?></label> 199 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> /><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php 200 /* translators: accessibility text: %s: component name */ 201 printf( __( 'Select %s', 'buddypress' ), esc_html( $labels['title'] ) ); 202 ?></label> 200 203 201 204 <?php else : ?> 202 205 203 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1" checked="checked" disabled><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php printf( __( '%s is a required component', 'buddypress' ), esc_html( $labels['title'] ) ); ?></label> 206 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1" checked="checked" disabled><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php 207 /* translators: accessibility text: %s: component name */ 208 printf( __( '%s is a required component', 'buddypress' ), esc_html( $labels['title'] ) ); 209 ?></label> 204 210 205 211 <?php endif; ?> 206 212 -
src/bp-groups/classes/class-bp-groups-list-table.php
428 428 * @param array $item A singular item (one full row). 429 429 */ 430 430 public function column_cb( $item = array() ) { 431 /* translators: accessibility text */ 431 432 printf( '<label class="screen-reader-text" for="gid-%1$d">' . __( 'Select group %1$d', 'buddypress' ) . '</label><input type="checkbox" name="gid[]" value="%1$d" id="gid-%1$d" />', $item['id'] ); 432 433 } 433 434 -
src/bp-members/classes/class-bp-members-list-table.php
260 260 */ 261 261 public function column_cb( $signup_object = null ) { 262 262 ?> 263 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php printf( esc_html__( 'Select user: %s', 'buddypress' ), $signup_object->user_login ); ?></label> 263 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php printf( 264 /* translators: accessibility text */ 265 esc_html__( 'Select user: %s', 'buddypress' ), $signup_object->user_login ); 266 ?></label> 264 267 <input type="checkbox" id="signup_<?php echo intval( $signup_object->id ) ?>" name="allsignups[]" value="<?php echo esc_attr( $signup_object->id ) ?>" /> 265 268 <?php 266 269 } -
src/bp-members/classes/class-bp-members-ms-list-table.php
253 253 */ 254 254 public function column_cb( $signup_object = null ) { 255 255 ?> 256 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php printf( esc_html__( 'Select user: %s', 'buddypress' ), $signup_object->user_login ); ?></label> 256 <label class="screen-reader-text" for="signup_<?php echo intval( $signup_object->id ); ?>"><?php printf( 257 /* translators: accessibility text */ 258 esc_html__( 'Select user: %s', 'buddypress' ), $signup_object->user_login ); 259 ?></label> 257 260 <input type="checkbox" id="signup_<?php echo intval( $signup_object->id ) ?>" name="allsignups[]" value="<?php echo esc_attr( $signup_object->id ) ?>" /> 258 261 <?php 259 262 } -
src/bp-messages/bp-messages-template.php
581 581 $unread = bp_get_message_thread_unread_count( $thread_id ); 582 582 583 583 return sprintf( 584 /* translators: 1: total number, 2: accessibility text: number of unread messages */ 584 585 '<span class="thread-count">(%1$s)</span> <span class="bp-screen-reader-text">%2$s</span>', 585 586 number_format_i18n( $total ), 586 587 sprintf( _n( '%d unread', '%d unread', $unread, 'buddypress' ), number_format_i18n( $unread ) ) -
src/bp-xprofile/bp-xprofile-admin.php
185 185 186 186 <fieldset id="<?php echo esc_attr( $group->id ); ?>" class="connectedSortable field-group"> 187 187 <legend class="screen-reader-text"><?php 188 /** This filter is documented in bp-xprofile/bp-xprofile-template.php */ 189 printf( esc_html__( 'Fields for "%s" Group', 'buddypress' ), apply_filters( 'bp_get_the_profile_group_name', $group->name ) ); 188 /** This filter is documented in bp-xprofile/bp-xprofile-template.php */ 189 /* translators: accessibility text */ 190 printf( esc_html__( 'Fields for "%s" Group', 'buddypress' ), apply_filters( 'bp_get_the_profile_group_name', $group->name ) ); 190 191 ?></legend> 191 192 192 193 <?php -
src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php
97 97 'type' => 'url' 98 98 ) ); ?> 99 99 100 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php esc_html_e( 'URL', 'buddypress' ); ?></label> 100 <label for="<?php bp_the_profile_field_input_name(); ?>" class="screen-reader-text"><?php 101 /* translators: accessibility text */ 102 esc_html_e( 'URL', 'buddypress' ); 103 ?></label> 101 104 <input <?php echo $this->get_edit_field_html_elements( $r ); ?>> 102 105 103 106 <?php