Ticket #29748: 29748-2ndbatch.patch
File 29748-2ndbatch.patch, 70.8 KB (added by , 8 years ago) |
---|
-
src/wp-admin/includes/class-wp-press-this.php
822 822 823 823 ?> 824 824 <div id="post-formats-select"> 825 <fieldset><legend class="screen-reader-text"><?php _e( 'Post Formats' ); ?></legend> 825 <fieldset> 826 <legend class="screen-reader-text"><?php 827 /* translators: accessibility text */ 828 _e( 'Post Formats' ); 829 ?></legend> 826 830 <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> 827 831 <label for="post-format-0" class="post-format-icon post-format-standard"><?php echo get_post_format_string( 'standard' ); ?></label> 828 832 <?php … … 858 862 if ( current_user_can( $taxonomy->cap->edit_terms ) ) { 859 863 ?> 860 864 <button type="button" class="add-cat-toggle button-link" aria-expanded="false"> 861 <span class="dashicons dashicons-plus"></span><span class="screen-reader-text"><?php _e( 'Toggle add category' ); ?></span> 865 <span class="dashicons dashicons-plus"></span><span class="screen-reader-text"><?php 866 /* translators: accessibility text */ 867 _e( 'Toggle add category' ); 868 ?></span> 862 869 </button> 863 870 <div class="add-category is-hidden"> 864 871 <label class="screen-reader-text" for="new-category"><?php echo $taxonomy->labels->add_new_item; ?></label> … … 885 892 <div class="categories-search-wrapper"> 886 893 <input id="categories-search" type="search" class="categories-search" placeholder="<?php esc_attr_e( 'Search categories by name' ) ?>"> 887 894 <label for="categories-search"> 888 <span class="dashicons dashicons-search"></span><span class="screen-reader-text"><?php _e( 'Search categories' ); ?></span> 895 <span class="dashicons dashicons-search"></span><span class="screen-reader-text"><?php 896 /* translators: accessibility text */ 897 _e( 'Search categories' ); 898 ?></span> 889 899 </label> 890 900 </div> 891 901 <div aria-label="<?php esc_attr_e( 'Categories' ); ?>"> … … 922 932 if ( $user_can_assign_terms ) { 923 933 ?> 924 934 <div class="ajaxtag hide-if-no-js"> 925 <label class="screen-reader-text" for="new-tag-post_tag"><?php _e( 'Tags' ); ?></label> 935 <label class="screen-reader-text" for="new-tag-post_tag"><?php 936 /* translators: accessibility text */ 937 _e( 'Tags' ); 938 ?></label> 926 939 <p> 927 940 <input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" aria-describedby="new-tag-desc" /> 928 941 <button type="button" class="tagadd"><?php _e( 'Add' ); ?></button> … … 1329 1342 </h1> 1330 1343 <button type="button" class="options button-link closed"> 1331 1344 <span class="dashicons dashicons-tag on-closed"></span> 1332 <span class="screen-reader-text on-closed"><?php _e( 'Show post options' ); ?></span> 1345 <span class="screen-reader-text on-closed"><?php 1346 /* translators: accessibility text */ 1347 _e( 'Show post options' ); 1348 ?></span> 1333 1349 <span aria-hidden="true" class="on-open"><?php _e( 'Done' ); ?></span> 1334 <span class="screen-reader-text on-open"><?php _e( 'Hide post options' ); ?></span> 1350 <span class="screen-reader-text on-open"><?php 1351 /* translators: accessibility text */ 1352 _e( 'Hide post options' ); 1353 ?></span> 1335 1354 </button> 1336 1355 </div> 1337 1356 1338 1357 <div id="scanbar" class="scan"> 1339 1358 <form method="GET"> 1340 <label for="url-scan" class="screen-reader-text"><?php _e( 'Scan site for content' ); ?></label> 1359 <label for="url-scan" class="screen-reader-text"><?php 1360 /* translators: accessibility text */ 1361 _e( 'Scan site for content' ); 1362 ?></label> 1341 1363 <input type="url" name="u" id="url-scan" class="scan-url" value="" placeholder="<?php esc_attr_e( 'Enter a URL to scan' ) ?>" /> 1342 1364 <input type="submit" name="url-scan-submit" id="url-scan-submit" class="scan-submit" value="<?php esc_attr_e( 'Scan' ) ?>" /> 1343 1365 </form> … … 1379 1401 1380 1402 <div class="media-list-container"> 1381 1403 <div class="media-list-inner-container"> 1382 <h2 class="screen-reader-text"><?php _e( 'Suggested media' ); ?></h2> 1404 <h2 class="screen-reader-text"><?php 1405 /* translators: accessibility text */ 1406 _e( 'Suggested media' ); 1407 ?></h2> 1383 1408 <ul class="media-list"></ul> 1384 1409 </div> 1385 1410 </div> … … 1442 1467 <button type="button" class="button-link modal-close"> 1443 1468 <span class="dashicons post-option-back"></span> 1444 1469 <span class="setting-title" aria-hidden="true"><?php _ex( 'Format', 'post format' ); ?></span> 1445 <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span> 1470 <span class="screen-reader-text"><?php 1471 /* translators: accessibility text */ 1472 _e( 'Back to post options' ); 1473 ?></span> 1446 1474 </button> 1447 1475 <?php $this->post_formats_html( $post ); ?> 1448 1476 </div> … … 1452 1480 <button type="button" class="button-link modal-close"> 1453 1481 <span class="dashicons post-option-back"></span> 1454 1482 <span class="setting-title" aria-hidden="true"><?php _e( 'Categories' ); ?></span> 1455 <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span> 1483 <span class="screen-reader-text"><?php 1484 /* translators: accessibility text */ 1485 _e( 'Back to post options' ); 1486 ?></span> 1456 1487 </button> 1457 1488 <?php $this->categories_html( $post ); ?> 1458 1489 </div> … … 1461 1492 <button type="button" class="button-link modal-close"> 1462 1493 <span class="dashicons post-option-back"></span> 1463 1494 <span class="setting-title" aria-hidden="true"><?php _e( 'Tags' ); ?></span> 1464 <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span> 1495 <span class="screen-reader-text"><?php 1496 /* translators: accessibility text */ 1497 _e( 'Back to post options' ); 1498 ?></span> 1465 1499 </button> 1466 1500 <?php $this->tags_html( $post ); ?> 1467 1501 </div> … … 1472 1506 <div class="pressthis-media-buttons"> 1473 1507 <button type="button" class="insert-media button-link" data-editor="pressthis"> 1474 1508 <span class="dashicons dashicons-admin-media"></span> 1475 <span class="screen-reader-text"><?php _e( 'Add Media' ); ?></span> 1509 <span class="screen-reader-text"><?php 1510 /* translators: accessibility text */ 1511 _e( 'Add Media' ); 1512 ?></span> 1476 1513 </button> 1477 1514 </div> 1478 1515 <div class="post-actions"> … … 1484 1521 <span class="saving-draft"><?php _e( 'Saving…' ); ?></span> 1485 1522 </button><button type="button" class="split-button-toggle" aria-haspopup="true" aria-expanded="false"> 1486 1523 <i class="dashicons dashicons-arrow-down-alt2"></i> 1487 <span class="screen-reader-text"><?php _e('More actions'); ?></span> 1524 <span class="screen-reader-text"><?php 1525 /* translators: accessibility text */ 1526 _e( 'More actions' ); 1527 ?></span> 1488 1528 </button> 1489 1529 </div> 1490 1530 <ul class="split-button-body"> -
src/wp-admin/includes/class-wp-users-list-table.php
261 261 ?> 262 262 <div class="alignleft actions"> 263 263 <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?> 264 <label class="screen-reader-text" for="<?php echo $id ?>"><?php _e( 'Change role to…' ) ?></label> 264 <label class="screen-reader-text" for="<?php echo $id ?>"><?php 265 /* translators: accessibility text */ 266 _e( 'Change role to…' ); 267 ?></label> 265 268 <select name="<?php echo $id ?>" id="<?php echo $id ?>"> 266 269 <option value=""><?php _e( 'Change role to…' ) ?></option> 267 270 <?php wp_dropdown_roles(); ?> -
src/wp-admin/includes/dashboard.php
417 417 418 418 <form action="<?php echo network_admin_url('users.php'); ?>" method="get"> 419 419 <p> 420 <label class="screen-reader-text" for="search-users"><?php _e( 'Search Users' ); ?></label> 420 <label class="screen-reader-text" for="search-users"><?php 421 /* translators: accessibility text */ 422 _e( 'Search Users' ); 423 ?></label> 421 424 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-users"/> 422 425 <?php submit_button( __( 'Search Users' ), 'button', false, false, array( 'id' => 'submit_users' ) ); ?> 423 426 </p> … … 425 428 426 429 <form action="<?php echo network_admin_url('sites.php'); ?>" method="get"> 427 430 <p> 428 <label class="screen-reader-text" for="search-sites"><?php _e( 'Search Sites' ); ?></label> 431 <label class="screen-reader-text" for="search-sites"><?php 432 /* translators: accessibility text */ 433 _e( 'Search Sites' ); 434 ?></label> 429 435 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites"/> 430 436 <?php submit_button( __( 'Search Sites' ), 'button', false, false, array( 'id' => 'submit_sites' ) ); ?> 431 437 </p> … … 501 507 </div> 502 508 503 509 <div class="textarea-wrap" id="description-wrap"> 504 <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'What’s on your mind?' ); ?></label> 510 <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php 511 /* translators: accessibility text */ 512 _e( 'What’s on your mind?' ); 513 ?></label> 505 514 <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" autocomplete="off"></textarea> 506 515 </div> 507 516 -
src/wp-admin/includes/image-edit.php
47 47 <div class="imgedit-group"> 48 48 <div class="imgedit-group-top"> 49 49 <h2><?php _e( 'Scale Image' ); ?></h2> 50 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php esc_html_e( 'Scale Image Help' ); ?></span></button> 50 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php 51 /* translators: accessibility text */ 52 esc_html_e( 'Scale Image Help' ); 53 ?></span></button> 51 54 <div class="imgedit-help"> 52 55 <p><?php _e('You can proportionally scale the original image. For best results, scaling should be done before you crop, flip, or rotate. Images can only be scaled down, not up.'); ?></p> 53 56 </div> … … 59 62 <fieldset class="imgedit-scale"> 60 63 <legend><?php _e( 'New dimensions:' ); ?></legend> 61 64 <div class="nowrap"> 62 <label><span class="screen-reader-text"><?php _e( 'scale width' ); ?></span> 65 <label><span class="screen-reader-text"><?php 66 /* translators: accessibility text */ 67 _e( 'scale width' ); 68 ?></span> 63 69 <input type="text" id="imgedit-scale-width-<?php echo $post_id; ?>" onkeyup="imageEdit.scaleChanged(<?php echo $post_id; ?>, 1)" onblur="imageEdit.scaleChanged(<?php echo $post_id; ?>, 1)" value="<?php echo isset( $meta['width'] ) ? $meta['width'] : 0; ?>" /> 64 70 </label> 65 71 <span class="imgedit-separator">×</span> 66 <label><span class="screen-reader-text"><?php _e( 'scale height' ); ?></span> 72 <label><span class="screen-reader-text"><?php 73 /* translators: accessibility text */ 74 _e( 'scale height' ); 75 ?></span> 67 76 <input type="text" id="imgedit-scale-height-<?php echo $post_id; ?>" onkeyup="imageEdit.scaleChanged(<?php echo $post_id; ?>, 0)" onblur="imageEdit.scaleChanged(<?php echo $post_id; ?>, 0)" value="<?php echo isset( $meta['height'] ) ? $meta['height'] : 0; ?>" /> 68 77 </label> 69 78 <span class="imgedit-scale-warn" id="imgedit-scale-warn-<?php echo $post_id; ?>">!</span> … … 99 108 <div class="imgedit-group"> 100 109 <div class="imgedit-group-top"> 101 110 <h2><?php _e( 'Image Crop' ); ?></h2> 102 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php esc_html_e( 'Image Crop Help' ); ?></span></button> 111 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php 112 /* translators: accessibility text */ 113 esc_html_e( 'Image Crop Help' ); 114 ?></span></button> 103 115 104 116 <div class="imgedit-help"> 105 117 <p><?php _e('To crop the image, click on it and drag to make your selection.'); ?></p> … … 115 127 <fieldset class="imgedit-crop-ratio"> 116 128 <legend><?php _e( 'Aspect ratio:' ); ?></legend> 117 129 <div class="nowrap"> 118 <label><span class="screen-reader-text"><?php _e( 'crop ratio width' ); ?></span> 130 <label><span class="screen-reader-text"><?php 131 /* translators: accessibility text */ 132 _e( 'crop ratio width' ); 133 ?></span> 119 134 <input type="text" id="imgedit-crop-width-<?php echo $post_id; ?>" onkeyup="imageEdit.setRatioSelection(<?php echo $post_id; ?>, 0, this)" /> 120 135 </label> 121 136 <span class="imgedit-separator">:</span> 122 <label><span class="screen-reader-text"><?php _e( 'crop ratio height' ); ?></span> 137 <label><span class="screen-reader-text"><?php 138 /* translators: accessibility text */ 139 _e( 'crop ratio height' ); 140 ?></span> 123 141 <input type="text" id="imgedit-crop-height-<?php echo $post_id; ?>" onkeyup="imageEdit.setRatioSelection(<?php echo $post_id; ?>, 1, this)" /> 124 142 </label> 125 143 </div> … … 128 146 <fieldset id="imgedit-crop-sel-<?php echo $post_id; ?>" class="imgedit-crop-sel"> 129 147 <legend><?php _e( 'Selection:' ); ?></legend> 130 148 <div class="nowrap"> 131 <label><span class="screen-reader-text"><?php _e( 'selection width' ); ?></span> 149 <label><span class="screen-reader-text"><?php 150 /* translators: accessibility text */ 151 _e( 'selection width' ); 152 ?></span> 132 153 <input type="text" id="imgedit-sel-width-<?php echo $post_id; ?>" onkeyup="imageEdit.setNumSelection(<?php echo $post_id; ?>)" /> 133 154 </label> 134 155 <span class="imgedit-separator">×</span> 135 <label><span class="screen-reader-text"><?php _e( 'selection height' ); ?></span> 156 <label><span class="screen-reader-text"><?php 157 /* translators: accessibility text */ 158 _e( 'selection height' ); 159 ?></span> 136 160 <input type="text" id="imgedit-sel-height-<?php echo $post_id; ?>" onkeyup="imageEdit.setNumSelection(<?php echo $post_id; ?>)" /> 137 161 </label> 138 162 </div> … … 147 171 <div class="imgedit-group imgedit-applyto"> 148 172 <div class="imgedit-group-top"> 149 173 <h2><?php _e( 'Thumbnail Settings' ); ?></h2> 150 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php esc_html_e( 'Thumbnail Settings Help' ); ?></span></button> 174 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php 175 /* translators: accessibility text */ 176 esc_html_e( 'Thumbnail Settings Help' ); 177 ?></span></button> 151 178 <p class="imgedit-help"><?php _e('You can edit the image while preserving the thumbnail. For example, you may wish to have a square thumbnail that displays just a section of the image.'); ?></p> 152 179 </div> 153 180 … … 182 209 <div class="imgedit-panel-content wp-clearfix"> 183 210 <?php echo $note; ?> 184 211 <div class="imgedit-menu wp-clearfix"> 185 <button type="button" onclick="imageEdit.crop(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-crop button disabled" disabled><span class="screen-reader-text"><?php esc_html_e( 'Crop' ); ?></span></button><?php 212 <button type="button" onclick="imageEdit.crop(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-crop button disabled" disabled><span class="screen-reader-text"><?php 213 /* translators: accessibility text */ 214 esc_html_e( 'Crop' ); 215 ?></span></button><?php 186 216 187 217 // On some setups GD library does not provide imagerotate() - Ticket #11536 188 218 if ( wp_image_editor_supports( array( 'mime_type' => get_post_mime_type( $post_id ), 'methods' => array( 'rotate' ) ) ) ) { … … 189 219 $note_no_rotate = ''; 190 220 ?> 191 221 <button type="button" class="imgedit-rleft button" onclick="imageEdit.rotate( 90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php esc_html_e( 'Rotate counter-clockwise' ); ?></span></button> 192 <button type="button" class="imgedit-rright button" onclick="imageEdit.rotate(-90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php esc_html_e( 'Rotate clockwise' ); ?></span></button> 222 <button type="button" class="imgedit-rright button" onclick="imageEdit.rotate(-90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php 223 /* translators: accessibility text */ 224 esc_html_e( 'Rotate clockwise' ); 225 ?></span></button> 193 226 <?php } else { 194 227 $note_no_rotate = '<p class="note-no-rotate"><em>' . __( 'Image rotation is not supported by your web host.' ) . '</em></p>'; 195 228 ?> … … 197 230 <button type="button" class="imgedit-rright button disabled" disabled></button> 198 231 <?php } ?> 199 232 200 <button type="button" onclick="imageEdit.flip(1, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-flipv button"><span class="screen-reader-text"><?php esc_html_e( 'Flip vertically' ); ?></span></button> 201 <button type="button" onclick="imageEdit.flip(2, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-fliph button"><span class="screen-reader-text"><?php esc_html_e( 'Flip horizontally' ); ?></span></button> 233 <button type="button" onclick="imageEdit.flip(1, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-flipv button"><span class="screen-reader-text"><?php 234 /* translators: accessibility text */ 235 esc_html_e( 'Flip vertically' ); 236 ?></span></button> 237 <button type="button" onclick="imageEdit.flip(2, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-fliph button"><span class="screen-reader-text"><?php 238 /* translators: accessibility text */ 239 esc_html_e( 'Flip horizontally' ); 240 ?></span></button> 202 241 203 <button type="button" id="image-undo-<?php echo $post_id; ?>" onclick="imageEdit.undo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-undo button disabled" disabled><span class="screen-reader-text"><?php esc_html_e( 'Undo' ); ?></span></button> 204 <button type="button" id="image-redo-<?php echo $post_id; ?>" onclick="imageEdit.redo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-redo button disabled" disabled><span class="screen-reader-text"><?php esc_html_e( 'Redo' ); ?></span></button> 242 <button type="button" id="image-undo-<?php echo $post_id; ?>" onclick="imageEdit.undo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-undo button disabled" disabled><span class="screen-reader-text"><?php 243 /* translators: accessibility text */ 244 esc_html_e( 'Undo' ); 245 ?></span></button> 246 <button type="button" id="image-redo-<?php echo $post_id; ?>" onclick="imageEdit.redo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-redo button disabled" disabled><span class="screen-reader-text"><?php 247 /* translators: accessibility text */ 248 esc_html_e( 'Redo' ); 249 ?></span></button> 205 250 <?php echo $note_no_rotate; ?> 206 251 </div> 207 252 -
src/wp-admin/includes/media.php
1938 1938 do_action( 'pre-html-upload-ui' ); 1939 1939 ?> 1940 1940 <p id="async-upload-wrap"> 1941 <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label> 1941 <label class="screen-reader-text" for="async-upload"><?php 1942 /* translators: accessibility text */ 1943 _e( 'Upload' ); 1944 ?></label> 1942 1945 <input type="file" name="async-upload" id="async-upload" /> 1943 1946 <?php submit_button( __( 'Upload' ), 'primary', 'html-upload', false ); ?> 1944 1947 <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a> … … 2380 2383 <input type="hidden" name="context" value="<?php echo isset( $_GET['context'] ) ? esc_attr( $_GET['context'] ) : ''; ?>" /> 2381 2384 2382 2385 <p id="media-search" class="search-box"> 2383 <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label> 2386 <label class="screen-reader-text" for="media-search-input"><?php 2387 /* translators: accessibility text */ 2388 _e( 'Search Media' ); 2389 ?>:</label> 2384 2390 <input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> 2385 2391 <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?> 2386 2392 </p> -
src/wp-admin/includes/meta-boxes.php
98 98 ?> 99 99 </span> 100 100 <?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?> 101 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit status' ); ?></span></a> 101 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php 102 /* translators: accessibility text */ 103 _e( 'Edit status' ); 104 ?></span></a> 102 105 103 106 <div id="post-status-select" class="hide-if-js"> 104 107 <input type="hidden" name="hidden_post_status" id="hidden_post_status" value="<?php echo esc_attr( ('auto-draft' == $post->post_status ) ? 'draft' : $post->post_status); ?>" /> … … 144 147 145 148 echo esc_html( $visibility_trans ); ?></span> 146 149 <?php if ( $can_publish ) { ?> 147 <a href="#visibility" class="edit-visibility hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit visibility' ); ?></span></a> 150 <a href="#visibility" class="edit-visibility hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php 151 /* translators: accessibility text */ 152 _e( 'Edit visibility' ); 153 ?></span></a> 148 154 149 155 <div id="post-visibility-select" class="hide-if-js"> 150 156 <input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo esc_attr($post->post_password); ?>" /> … … 193 199 if ( ! empty( $args['args']['revisions_count'] ) ) : ?> 194 200 <div class="misc-pub-section misc-pub-revisions"> 195 201 <?php printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); ?> 196 <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php _e( 'Browse revisions' ); ?></span></a> 202 <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php 203 /* translators: accessibility text */ 204 _e( 'Browse revisions' ); 205 ?></span></a> 197 206 </div> 198 207 <?php endif; 199 208 … … 201 210 <div class="misc-pub-section curtime misc-pub-curtime"> 202 211 <span id="timestamp"> 203 212 <?php printf($stamp, $date); ?></span> 204 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a> 213 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php 214 /* translators: accessibility text */ 215 _e( 'Edit date and time' ); 216 ?></span></a> 205 217 <fieldset id="timestampdiv" class="hide-if-js"> 206 <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend> 218 <legend class="screen-reader-text"><?php 219 /* translators: accessibility text */ 220 _e( 'Date and time' ); 221 ?></legend> 207 222 <?php touch_time( ( $action === 'edit' ), 1 ); ?> 208 223 </fieldset> 209 224 </div><?php // /misc-pub-section ?> … … 373 388 ?> 374 389 <div id="post-formats-select"> 375 390 <fieldset> 376 <legend class="screen-reader-text"><?php _e( 'Post Formats' ); ?></legend> 391 <legend class="screen-reader-text"><?php 392 /* translators: accessibility text */ 393 _e( 'Post Formats' ); 394 ?></legend> 377 395 <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> <label for="post-format-0" class="post-format-icon post-format-standard"><?php echo get_post_format_string( 'standard' ); ?></label> 378 396 <?php foreach ( $post_formats[0] as $format ) : ?> 379 397 <br /><input type="radio" name="post_format" class="post-format" id="post-format-<?php echo esc_attr( $format ); ?>" value="<?php echo esc_attr( $format ); ?>" <?php checked( $post_format, $format ); ?> /> <label for="post-format-<?php echo esc_attr( $format ); ?>" class="post-format-icon post-format-<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></label> … … 568 586 */ 569 587 function post_excerpt_meta_box($post) { 570 588 ?> 571 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea> 589 <label class="screen-reader-text" for="excerpt"><?php 590 /* translators: accessibility text */ 591 _e( 'Excerpt' ); 592 ?></label> 593 <textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea> 572 594 <p><?php 573 595 printf( 574 596 /* translators: %s: Codex URL */ … … 737 759 /** This filter is documented in wp-admin/edit-tag-form.php */ 738 760 $editable_slug = apply_filters( 'editable_slug', $post->post_name, $post ); 739 761 ?> 740 <label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $editable_slug ); ?>" /> 762 <label class="screen-reader-text" for="post_name"><?php 763 /* translators: accessibility text */ 764 _e ( 'Slug' ); 765 ?></label> 766 <input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $editable_slug ); ?>" /> 741 767 <?php 742 768 } 743 769 … … 753 779 function post_author_meta_box($post) { 754 780 global $user_ID; 755 781 ?> 756 <label class="screen-reader-text" for="post_author_override"><?php _e('Author'); ?></label> 782 <label class="screen-reader-text" for="post_author_override"><?php 783 /* translators: accessibility text */ 784 _e( 'Author' ); 785 ?></label> 757 786 <?php 758 787 wp_dropdown_users( array( 759 788 'who' => 'authors', … … 812 841 if ( ! empty($pages) ) { 813 842 ?> 814 843 <p><strong><?php _e('Parent') ?></strong></p> 815 <label class="screen-reader-text" for="parent_id"><?php _e('Parent') ?></label> 844 <label class="screen-reader-text" for="parent_id"><?php 845 /* translators: accessibility text */ 846 _e( 'Parent' ); 847 ?></label> 816 848 <?php echo $pages; ?> 817 849 <?php 818 850 } // end empty pages check … … 832 864 */ 833 865 do_action( 'page_attributes_meta_box_template', $template, $post ); 834 866 ?></p> 835 <label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template"> 867 <label class="screen-reader-text" for="page_template"><?php 868 /* translators: accessibility text */ 869 _e( 'Page Template' ); 870 ?></label> 871 <select name="page_template" id="page_template"> 836 872 <?php 837 873 /** 838 874 * Filter the title of the default page template displayed in the drop-down. … … 851 887 <?php 852 888 } ?> 853 889 <p><strong><?php _e('Order') ?></strong></p> 854 <p><label class="screen-reader-text" for="menu_order"><?php _e('Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p> 890 <p><label class="screen-reader-text" for="menu_order"><?php 891 /* translators: accessibility text */ 892 _e( 'Order' ); 893 ?></label> 894 <input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p> 855 895 <?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) { ?> 856 896 <p><?php _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p> 857 897 <?php … … 964 1004 <div id="category-adder" class="wp-hidden-children"> 965 1005 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a> 966 1006 <p id="link-category-add" class="wp-hidden-child"> 967 <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 1007 <label class="screen-reader-text" for="newcat"><?php 1008 /* translators: accessibility text */ 1009 _e( '+ Add New Category' ); 1010 ?></label> 968 1011 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> 969 1012 <input type="button" id="link-category-add-submit" data-wp-lists="add:categorychecklist:link-category-add" class="button" value="<?php esc_attr_e( 'Add' ); ?>" /> 970 1013 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> … … 983 1026 * @param object $link 984 1027 */ 985 1028 function link_target_meta_box($link) { ?> 986 <fieldset><legend class="screen-reader-text"><span><?php _e('Target') ?></span></legend> 1029 <fieldset> 1030 <legend class="screen-reader-text"><span><?php 1031 /* translators: accessibility text */ 1032 _e( 'Target' ); 1033 ?></span></legend> 987 1034 <p><label for="link_target_blank" class="selectit"> 988 1035 <input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> /> 989 1036 <?php _e('<code>_blank</code> — new window or tab.'); ?></label></p> … … 1046 1093 </tr> 1047 1094 <tr> 1048 1095 <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?></th> 1049 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?></span></legend> 1096 <td><fieldset> 1097 <legend class="screen-reader-text"><span><?php 1098 /* translators: xfn: http://gmpg.org/xfn/, accessibility text */ 1099 _e( 'identity' ); 1100 ?></span></legend> 1050 1101 <label for="me"> 1051 1102 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 1052 1103 <?php _e('another web address of mine') ?></label> … … 1054 1105 </tr> 1055 1106 <tr> 1056 1107 <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?></th> 1057 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?></span></legend> 1108 <td><fieldset> 1109 <legend class="screen-reader-text"><span><?php 1110 /* translators: xfn: http://gmpg.org/xfn/, accessibility text */ 1111 _e( 'friendship' ); 1112 ?></span></legend> 1058 1113 <label for="contact"> 1059 1114 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?> 1060 1115 </label> … … 1071 1126 </tr> 1072 1127 <tr> 1073 1128 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th> 1074 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?></span></legend> 1129 <td><fieldset> 1130 <legend class="screen-reader-text"><span><?php 1131 /* translators: xfn: http://gmpg.org/xfn/, accessibility text */ 1132 _e( 'physical' ); 1133 ?></span></legend> 1075 1134 <label for="met"> 1076 1135 <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?> 1077 1136 </label> … … 1079 1138 </tr> 1080 1139 <tr> 1081 1140 <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th> 1082 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?></span></legend> 1141 <td><fieldset> 1142 <legend class="screen-reader-text"><span><?php 1143 /* translators: xfn: http://gmpg.org/xfn/, accessibility text */ 1144 _e( 'professional' ); 1145 ?></span></legend> 1083 1146 <label for="co-worker"> 1084 1147 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?> 1085 1148 </label> … … 1090 1153 </tr> 1091 1154 <tr> 1092 1155 <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?></th> 1093 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend> 1156 <td><fieldset> 1157 <legend class="screen-reader-text"><span> <?php 1158 /* translators: xfn: http://gmpg.org/xfn/, accessibility text */ 1159 _e( 'geographical' ); 1160 ?> </span></legend> 1094 1161 <label for="co-resident"> 1095 1162 <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?> 1096 1163 </label> … … 1104 1171 </tr> 1105 1172 <tr> 1106 1173 <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?></th> 1107 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend> 1174 <td><fieldset> 1175 <legend class="screen-reader-text"><span> <?php 1176 /* translators: xfn: http://gmpg.org/xfn/, accessibility text */ 1177 _e( 'family' ); 1178 ?> </span></legend> 1108 1179 <label for="child"> 1109 1180 <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?> 1110 1181 </label> … … 1127 1198 </tr> 1128 1199 <tr> 1129 1200 <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?></th> 1130 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend> 1201 <td><fieldset> 1202 <legend class="screen-reader-text"><span> <?php 1203 /* translators: xfn: http://gmpg.org/xfn/, accessibility text */ 1204 _e( 'romantic' ); 1205 ?> </span></legend> 1131 1206 <label for="muse"> 1132 1207 <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?> 1133 1208 </label> -
src/wp-admin/includes/misc.php
656 656 657 657 ?> 658 658 <fieldset id="color-picker" class="scheme-list"> 659 <legend class="screen-reader-text"><span><?php _e( 'Admin Color Scheme' ); ?></span></legend> 659 <legend class="screen-reader-text"><span><?php 660 /* translators: accessibility text */ 661 _e( 'Admin Color Scheme' ); 662 ?></span></legend> 660 663 <?php 661 664 wp_nonce_field( 'save-color-scheme', 'color-nonce', false ); 662 665 foreach ( $_wp_admin_css_colors as $color => $color_info ) : -
src/wp-admin/includes/ms.php
502 502 <th><label for="blog-upload-space-number"><?php _e( 'Site Upload Space Quota' ); ?></label></th> 503 503 <td> 504 504 <input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" id="blog-upload-space-number" aria-describedby="blog-upload-space-desc" value="<?php echo $quota; ?>" /> 505 <span id="blog-upload-space-desc"><span class="screen-reader-text"><?php _e( 'Size in megabytes' ); ?></span> <?php _e( 'MB (Leave blank for network default)' ); ?></span> 505 <span id="blog-upload-space-desc"><span class="screen-reader-text"><?php 506 /* translators: accessibility text */ 507 _e( 'Size in megabytes' ); 508 ?></span> <?php _e( 'MB (Leave blank for network default)' ); ?></span> 506 509 </td> 507 510 </tr> 508 511 <?php -
src/wp-admin/includes/nav-menu.php
431 431 } 432 432 ?> 433 433 <p class="quick-search-wrap"> 434 <label for="quick-search-posttype-<?php echo $post_type_name; ?>" class="screen-reader-text"><?php _e( 'Search' ); ?></label> 434 <label for="quick-search-posttype-<?php echo $post_type_name; ?>" class="screen-reader-text"><?php 435 /* translators: accessibility text */ 436 _e( 'Search' ); 437 ?></label> 435 438 <input type="search" class="quick-search" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" id="quick-search-posttype-<?php echo $post_type_name; ?>" /> 436 439 <span class="spinner"></span> 437 440 <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?> … … 711 714 } 712 715 ?> 713 716 <p class="quick-search-wrap"> 714 <label for="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" class="screen-reader-text"><?php _e( 'Search' ); ?></label> 717 <label for="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" class="screen-reader-text"><?php 718 /* translators: accessibility text */ 719 _e( 'Search' ); 720 ?></label> 715 721 <input type="search" class="quick-search" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" id="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" /> 716 722 <span class="spinner"></span> 717 723 <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?> -
src/wp-admin/includes/plugin-install.php
269 269 <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option> 270 270 </select> 271 271 <?php endif; ?> 272 <label><span class="screen-reader-text"><?php _e('Search Plugins'); ?></span> 272 <label><span class="screen-reader-text"><?php 273 /* translators: accessibility text */ 274 _e( 'Search Plugins' ); 275 ?></span> 273 276 <input type="search" name="s" value="<?php echo esc_attr($term) ?>" <?php echo $input_attrs; ?>/> 274 277 </label> 275 278 <?php submit_button( __( 'Search Plugins' ), $button_type, false, false, array( 'id' => 'search-submit' ) ); ?> … … 286 289 <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p> 287 290 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-plugin'); ?>"> 288 291 <?php wp_nonce_field( 'plugin-upload' ); ?> 289 <label class="screen-reader-text" for="pluginzip"><?php _e( 'Plugin zip file' ); ?></label> 292 <label class="screen-reader-text" for="pluginzip"><?php 293 /* translators: accessibility text */ 294 _e( 'Plugin zip file' ); 295 ?></label> 290 296 <input type="file" id="pluginzip" name="pluginzip" /> 291 297 <?php submit_button( __( 'Install Now' ), 'button', 'install-plugin-submit', false ); ?> 292 298 </form> -
src/wp-admin/includes/template.php
398 398 </legend> 399 399 400 400 <div id="replycontainer"> 401 <label for="replycontent" class="screen-reader-text"><?php _e( 'Comment' ); ?></label> 401 <label for="replycontent" class="screen-reader-text"><?php 402 /* translators: accessibility text */ 403 _e( 'Comment' ); 404 ?></label> 402 405 <?php 403 406 $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); 404 407 wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); … … 1151 1154 <li class="control-section accordion-section <?php echo $hidden_class; ?> <?php echo $open_class; ?> <?php echo esc_attr( $box['id'] ); ?>" id="<?php echo esc_attr( $box['id'] ); ?>"> 1152 1155 <h3 class="accordion-section-title hndle" tabindex="0"> 1153 1156 <?php echo esc_html( $box['title'] ); ?> 1154 <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span> 1157 <span class="screen-reader-text"><?php 1158 /* translators: accessibility text */ 1159 _e( 'Press return or enter to open this section' ); 1160 ?></span> 1155 1161 </h3> 1156 1162 <div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>"> 1157 1163 <div class="inside"> … … 1487 1493 <div id="find-posts" class="find-box" style="display: none;"> 1488 1494 <div id="find-posts-head" class="find-box-head"> 1489 1495 <?php _e( 'Attach to existing content' ); ?> 1490 <button type="button" id="find-posts-close"><span class="screen-reader-text"><?php _e( 'Close media attachment panel' ); ?></button> 1496 <button type="button" id="find-posts-close"><span class="screen-reader-text"><?php 1497 /* translators: accessibility text */ 1498 _e( 'Close media attachment panel' ); 1499 ?></button> 1491 1500 </div> 1492 1501 <div class="find-box-inside"> 1493 1502 <div class="find-box-search"> … … 1496 1505 <?php } ?> 1497 1506 <input type="hidden" name="affected" id="affected" value="" /> 1498 1507 <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?> 1499 <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label> 1508 <label class="screen-reader-text" for="find-posts-input"><?php 1509 /* translators: accessibility text */ 1510 _e( 'Search' ); 1511 ?></label> 1500 1512 <input type="text" id="find-posts-input" name="ps" value="" /> 1501 1513 <span class="spinner"></span> 1502 1514 <input type="button" id="find-posts-search" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /> -
src/wp-admin/includes/theme-install.php
62 62 <form id="search-themes" method="get"> 63 63 <input type="hidden" name="tab" value="search" /> 64 64 <?php if ( $type_selector ) : ?> 65 <label class="screen-reader-text" for="typeselector"><?php _e('Type of search'); ?></label> 65 <label class="screen-reader-text" for="typeselector"><?php 66 /* translators: accessibility text */ 67 _e( 'Type of search' ); 68 ?></label> 66 69 <select name="type" id="typeselector"> 67 70 <option value="term" <?php selected('term', $type) ?>><?php _e('Keyword'); ?></option> 68 71 <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option> … … 82 85 } 83 86 ?></label> 84 87 <?php else : ?> 85 <label class="screen-reader-text" for="s"><?php _e('Search by keyword'); ?></label> 88 <label class="screen-reader-text" for="s"><?php 89 /* translators: accessibility text */ 90 _e( 'Search by keyword' ); 91 ?></label> 86 92 <?php endif; ?> 87 93 <input type="search" name="s" id="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 88 94 <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?> … … 143 149 <p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.'); ?></p> 144 150 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>"> 145 151 <?php wp_nonce_field( 'theme-upload' ); ?> 146 <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label> 152 <label class="screen-reader-text" for="themezip"><?php 153 /* translators: accessibility text */ 154 _e( 'Theme zip file' ); 155 ?></label> 147 156 <input type="file" id="themezip" name="themezip" /> 148 157 <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?> 149 158 </form> -
src/wp-admin/includes/theme.php
600 600 <div class="theme-backdrop"></div> 601 601 <div class="theme-wrap wp-clearfix"> 602 602 <div class="theme-header"> 603 <button type="button" class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button> 604 <button type="button" class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button> 605 <button type="button" class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button> 603 <button type="button" class="left dashicons dashicons-no"><span class="screen-reader-text"><?php 604 /* translators: accessibility text */ 605 _e( 'Show previous theme' ); 606 ?></span></button> 607 <button type="button" class="right dashicons dashicons-no"><span class="screen-reader-text"><?php 608 /* translators: accessibility text */ 609 _e( 'Show next theme' ); 610 ?></span></button> 611 <button type="button" class="close dashicons dashicons-no"><span class="screen-reader-text"><?php 612 /* translators: accessibility text */ 613 _e( 'Close details dialog' ); 614 ?></span></button> 606 615 </div> 607 616 <div class="theme-about wp-clearfix"> 608 617 <div class="theme-screenshots"> -
src/wp-admin/nav-menus.php
656 656 <?php if ( isset( $menu_locations[ $_location ] ) && 0 != $menu_locations[ $_location ] ) : ?> 657 657 <span class="locations-edit-menu-link"> 658 658 <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'edit', 'menu' => $menu_locations[$_location] ), admin_url( 'nav-menus.php' ) ) ); ?>"> 659 <span aria-hidden="true"><?php _ex( 'Edit', 'menu' ); ?></span><span class="screen-reader-text"><?php _e( 'Edit selected menu' ); ?></span> 659 <span aria-hidden="true"><?php _ex( 'Edit', 'menu' ); ?></span><span class="screen-reader-text"><?php 660 /* translators: accessibility text */ 661 _e( 'Edit selected menu' ); 662 ?></span> 660 663 </a> 661 664 </span> 662 665 <?php endif; ?> -
src/wp-admin/network/settings.php
131 131 ?> 132 132 <td> 133 133 <fieldset> 134 <legend class="screen-reader-text"><?php _e( 'New registrations settings' ) ?></legend> 134 <legend class="screen-reader-text"><?php 135 /* translators: accessibility text */ 136 _e( 'New registrations settings' ); 137 ?></legend> 135 138 <label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br /> 136 139 <label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br /> 137 140 <label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br /> … … 281 284 <td> 282 285 <label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( (bool) get_site_option( 'upload_space_check_disabled' ), false ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" aria-describedby="blog-upload-space-desc" value="' . esc_attr( get_site_option('blog_upload_space', 100) ) . '" />' ); ?></label><br /> 283 286 <p class="screen-reader-text" id="blog-upload-space-desc"> 284 <?php _e( 'Size in megabytes' ) ?> 287 <?php 288 /* translators: accessibility text */ 289 _e( 'Size in megabytes' ); 290 ?> 285 291 </p> 286 292 </td> 287 293 </tr> … … 301 307 <td> 302 308 <?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" aria-describedby="fileupload-maxk-desc" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' ); ?> 303 309 <p class="screen-reader-text" id="fileupload-maxk-desc"> 304 <?php _e( 'Size in kilobytes' ) ?> 310 <?php 311 /* translators: accessibility text */ 312 _e( 'Size in kilobytes' ); 313 ?> 305 314 </p> 306 315 </td> 307 316 </tr> -
src/wp-admin/network/site-info.php
205 205 <th scope="row"><?php _e( 'Attributes' ); ?></th> 206 206 <td> 207 207 <fieldset> 208 <legend class="screen-reader-text"><?php _e( 'Set site attributes' ) ?></legend> 208 <legend class="screen-reader-text"><?php 209 /* translators: accessibility text */ 210 _e( 'Set site attributes' ); 211 ?></legend> 209 212 <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> 210 213 <label><input type="checkbox" name="blog[<?php echo $field_key; ?>]" value="1" <?php checked( (bool) $details->$field_key, true ); disabled( ! in_array( $details->$field_key, array( 0, 1 ) ) ); ?> /> 211 214 <?php echo $field_label; ?></label><br/> -
src/wp-admin/options-discussion.php
41 41 <table class="form-table"> 42 42 <tr> 43 43 <th scope="row"><?php _e('Default article settings'); ?></th> 44 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend> 44 <td><fieldset> 45 <legend class="screen-reader-text"><span><?php 46 /* translators: accessibility text */ 47 _e( 'Default article settings' ); 48 ?></span></legend> 45 49 <label for="default_pingback_flag"> 46 50 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> 47 51 <?php _e('Attempt to notify any blogs linked to from the article'); ?></label> … … 59 63 </tr> 60 64 <tr> 61 65 <th scope="row"><?php _e('Other comment settings'); ?></th> 62 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend> 66 <td><fieldset> 67 <legend class="screen-reader-text"><span><?php 68 /* translators: accessibility text */ 69 _e( 'Other comment settings' ); 70 ?></span></legend> 63 71 <label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and email'); ?></label> 64 72 <br /> 65 73 <label for="comment_registration"> … … 126 134 </tr> 127 135 <tr> 128 136 <th scope="row"><?php _e('Email me whenever'); ?></th> 129 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Email me whenever'); ?></span></legend> 137 <td><fieldset> 138 <legend class="screen-reader-text"><span><?php 139 /* translators: accessibility text */ 140 _e( 'Email me whenever' ); 141 ?></span></legend> 130 142 <label for="comments_notify"> 131 143 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> 132 144 <?php _e('Anyone posts a comment'); ?> </label> … … 138 150 </tr> 139 151 <tr> 140 152 <th scope="row"><?php _e('Before a comment appears'); ?></th> 141 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend> 153 <td><fieldset> 154 <legend class="screen-reader-text"><span><?php 155 /* translators: accessibility text */ 156 _e( 'Before a comment appears' ); 157 ?></span></legend> 142 158 <label for="comment_moderation"> 143 159 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> 144 160 <?php _e('Comment must be manually approved'); ?> </label> … … 148 164 </tr> 149 165 <tr> 150 166 <th scope="row"><?php _e('Comment Moderation'); ?></th> 151 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend> 167 <td><fieldset> 168 <legend class="screen-reader-text"><span><?php 169 /* translators: accessibility text */ 170 _e( 'Comment Moderation' ); 171 ?></span></legend> 152 172 <p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p> 153 173 154 174 <p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p> … … 159 179 </tr> 160 180 <tr> 161 181 <th scope="row"><?php _e('Comment Blacklist'); ?></th> 162 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend> 182 <td><fieldset> 183 <legend class="screen-reader-text"><span><?php 184 /* translators: accessibility text */ 185 _e( 'Comment Blacklist' ); 186 ?></span></legend> 163 187 <p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, or IP, it will be put in the trash. One word or IP per line. It will match inside words, so “press” will match “WordPress”.'); ?></label></p> 164 188 <p> 165 189 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> … … 182 206 <table class="form-table"> 183 207 <tr> 184 208 <th scope="row"><?php _e('Avatar Display'); ?></th> 185 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend> 209 <td><fieldset> 210 <legend class="screen-reader-text"><span><?php 211 /* translators: accessibility text */ 212 _e( 'Avatar Display' ); 213 ?></span></legend> 186 214 <label for="show_avatars"> 187 215 <input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars, 1 ); ?> /> 188 216 <?php _e( 'Show Avatars' ); ?> … … 191 219 </tr> 192 220 <tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>"> 193 221 <th scope="row"><?php _e('Maximum Rating'); ?></th> 194 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend> 222 <td><fieldset> 223 <legend class="screen-reader-text"><span><?php 224 /* translators: accessibility text */ 225 _e( 'Maximum Rating' ); 226 ?></span></legend> 195 227 196 228 <?php 197 229 $ratings = array( … … 214 246 </tr> 215 247 <tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>"> 216 248 <th scope="row"><?php _e('Default Avatar'); ?></th> 217 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend> 249 <td class="defaultavatarpicker"><fieldset> 250 <legend class="screen-reader-text"><span><?php 251 /* translators: accessibility text */ 252 _e( 'Default Avatar' ); 253 ?></span></legend> 218 254 219 255 <?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address.'); ?><br /> 220 256 -
src/wp-admin/options-general.php
84 84 </tr> 85 85 <tr> 86 86 <th scope="row"><?php _e('Membership') ?></th> 87 <td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register"> 87 <td> <fieldset> 88 <legend class="screen-reader-text"><span><?php 89 /* translators: accessibility text */ 90 _e( 'Membership' ); 91 ?></span></legend> 92 <label for="users_can_register"> 88 93 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> /> 89 94 <?php _e('Anyone can register') ?></label> 90 95 </fieldset></td> … … 228 233 <tr> 229 234 <th scope="row"><?php _e('Date Format') ?></th> 230 235 <td> 231 <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend> 236 <fieldset> 237 <legend class="screen-reader-text"><span><?php 238 /* translators: accessibility text */ 239 _e( 'Date Format' ); 240 ?></span></legend> 232 241 <?php 233 242 /** 234 243 * Filter the default date formats. … … 265 274 <tr> 266 275 <th scope="row"><?php _e('Time Format') ?></th> 267 276 <td> 268 <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend> 277 <fieldset> 278 <legend class="screen-reader-text"><span><?php 279 _e( 'Time Format' ); 280 ?></span></legend> 269 281 <?php 270 282 /** 271 283 * Filter the default time formats. -
src/wp-admin/options-media.php
63 63 64 64 <tr> 65 65 <th scope="row"><?php _e('Medium size') ?></th> 66 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend> 66 <td><fieldset> 67 <legend class="screen-reader-text"><span><?php 68 /* translators: accessibility text */ 69 _e( 'Medium size' ); 70 ?></span></legend> 67 71 <label for="medium_size_w"><?php _e('Max Width'); ?></label> 68 72 <input name="medium_size_w" type="number" step="1" min="0" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" /> 69 73 <label for="medium_size_h"><?php _e('Max Height'); ?></label> … … 73 77 74 78 <tr> 75 79 <th scope="row"><?php _e('Large size') ?></th> 76 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend> 80 <td><fieldset> 81 <legend class="screen-reader-text"><span><?php 82 _e( 'Large size' ); 83 ?></span></legend> 77 84 <label for="large_size_w"><?php _e('Max Width'); ?></label> 78 85 <input name="large_size_w" type="number" step="1" min="0" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" /> 79 86 <label for="large_size_h"><?php _e('Max Height'); ?></label> -
src/wp-admin/options-reading.php
68 68 <table class="form-table"> 69 69 <tr> 70 70 <th scope="row"><?php _e( 'Front page displays' ); ?></th> 71 <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend> 71 <td id="front-static-pages"><fieldset> 72 <legend class="screen-reader-text"><span><?php 73 /* translators: accessibility text */ 74 _e( 'Front page displays' ); 75 ?></span></legend> 72 76 <p><label> 73 77 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> /> 74 78 <?php _e( 'Your latest posts' ); ?> … … 101 105 </tr> 102 106 <tr> 103 107 <th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th> 104 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend> 108 <td><fieldset> 109 <legend class="screen-reader-text"><span><?php 110 /* translators: accessibility text */ 111 _e( 'For each article in a feed, show' ); 112 ?> </span></legend> 105 113 <p><label><input name="rss_use_excerpt" type="radio" value="0" <?php checked( 0, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Full text' ); ?></label><br /> 106 114 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p> 107 115 </fieldset></td> -
src/wp-admin/options-writing.php
59 59 <?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?> 60 60 <tr> 61 61 <th scope="row"><?php _e('Formatting') ?></th> 62 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend> 62 <td><fieldset> 63 <legend class="screen-reader-text"><span><?php 64 /* translators: accessibility text */ 65 _e( 'Formatting' ); 66 ?></span></legend> 63 67 <label for="use_smilies"> 64 68 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> /> 65 69 <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br /> -
src/wp-admin/setup-config.php
143 143 $step_1 .= '&language=' . $loaded_language; 144 144 } 145 145 ?> 146 <h1 class="screen-reader-text"><?php _e( 'Before getting started' ) ?></h1> 146 <h1 class="screen-reader-text"><?php 147 /* translators: accessibility text */ 148 _e( 'Before getting started' ); 149 ?></h1> 147 150 <p><?php _e( 'Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.' ) ?></p> 148 151 <ol> 149 152 <li><?php _e( 'Database name' ); ?></li> … … 183 186 184 187 setup_config_display_header(); 185 188 ?> 186 <h1 class="screen-reader-text"><?php _e( 'Set up your database connection' ) ?></h1> 189 <h1 class="screen-reader-text"><?php 190 /* translators: accessibility text */ 191 _e( 'Set up your database connection' ); 192 ?></h1> 187 193 <form method="post" action="setup-config.php?step=2"> 188 194 <p><?php _e( 'Below you should enter your database connection details. If you’re not sure about these, contact your host.' ); ?></p> 189 195 <table class="form-table"> … … 395 401 chmod( $path_to_wp_config, 0666 ); 396 402 setup_config_display_header(); 397 403 ?> 398 <h1 class="screen-reader-text"><?php _e( 'Successful database connection' ) ?></h1> 404 <h1 class="screen-reader-text"><?php 405 /* translators: accessibility text */ 406 _e( 'Successful database connection' ); 407 ?></h1> 399 408 <p><?php _e( 'All right, sparky! You’ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to…' ); ?></p> 400 409 401 410 <p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the install' ); ?></a></p> -
src/wp-admin/theme-install.php
134 134 <?php install_themes_upload(); ?> 135 135 </div> 136 136 137 <h2 class="screen-reader-text"><?php _e( 'Filter themes list' ); ?></h2> 137 <h2 class="screen-reader-text"><?php 138 /* translators: accessibility text */ 139 _e( 'Filter themes list' ); 140 ?></h2> 138 141 139 142 <div class="wp-filter"> 140 143 <div class="filter-count"> … … 200 203 </div> 201 204 </div> 202 205 </div> 203 <h2 class="screen-reader-text"><?php _e( 'Themes list' ); ?></h2> 206 <h2 class="screen-reader-text"><?php 207 /* translators: accessibility text */ 208 _e( 'Themes list' ); 209 ?></h2> 204 210 <div class="theme-browser content-filterable"></div> 205 211 <div class="theme-install-overlay wp-full-overlay expanded"></div> 206 212 … … 250 256 <script id="tmpl-theme-preview" type="text/template"> 251 257 <div class="wp-full-overlay-sidebar"> 252 258 <div class="wp-full-overlay-header"> 253 <a href="#" class="close-full-overlay"><span class="screen-reader-text"><?php _e( 'Close' ); ?></span></a> 254 <a href="#" class="previous-theme"><span class="screen-reader-text"><?php _ex( 'Previous', 'Button label for a theme' ); ?></span></a> 255 <a href="#" class="next-theme"><span class="screen-reader-text"><?php _ex( 'Next', 'Button label for a theme' ); ?></span></a> 259 <a href="#" class="close-full-overlay"><span class="screen-reader-text"><?php 260 /* translators: accessibility text */ 261 _e( 'Close' ); 262 ?></span></a> 263 <a href="#" class="previous-theme"><span class="screen-reader-text"><?php 264 /* translators: accessibility text */ 265 _ex( 'Previous', 'Button label for a theme' ); 266 ?></span></a> 267 <a href="#" class="next-theme"><span class="screen-reader-text"><?php 268 /* translators: accessibility text */ 269 _ex( 'Next', 'Button label for a theme' ); 270 ?></span></a> 256 271 <# if ( data.installed ) { #> 257 272 <a href="#" class="button button-primary theme-install disabled"><?php _ex( 'Installed', 'theme' ); ?></a> 258 273 <# } else { #> … … 282 297 </div> 283 298 <div class="wp-full-overlay-footer"> 284 299 <div class="devices"> 285 <button type="button" class="preview-desktop active" aria-pressed="true" data-device="desktop"><span class="screen-reader-text"><?php _e( 'Enter desktop preview mode' ); ?></span></button> 286 <button type="button" class="preview-tablet" aria-pressed="false" data-device="tablet"><span class="screen-reader-text"><?php _e( 'Enter tablet preview mode' ); ?></span></button> 287 <button type="button" class="preview-mobile" aria-pressed="false" data-device="mobile"><span class="screen-reader-text"><?php _e( 'Enter mobile preview mode' ); ?></span></button> 300 <button type="button" class="preview-desktop active" aria-pressed="true" data-device="desktop"><span class="screen-reader-text"><?php 301 /* translators: accessibility text */ 302 _e( 'Enter desktop preview mode' ); 303 ?></span></button> 304 <button type="button" class="preview-tablet" aria-pressed="false" data-device="tablet"><span class="screen-reader-text"><?php 305 /* translators: accessibility text */ 306 _e( 'Enter tablet preview mode' ); 307 ?></span></button> 308 <button type="button" class="preview-mobile" aria-pressed="false" data-device="mobile"><span class="screen-reader-text"><?php 309 /* translators: accessibility text */ 310 _e( 'Enter mobile preview mode' ); 311 ?></span></button> 288 312 </div> 289 313 <button type="button" class="collapse-sidebar button-secondary" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>"> 290 314 <span class="collapse-sidebar-arrow"></span> -
src/wp-admin/themes.php
404 404 <div class="theme-backdrop"></div> 405 405 <div class="theme-wrap wp-clearfix"> 406 406 <div class="theme-header"> 407 <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button> 408 <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button> 409 <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button> 407 <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php 408 /* translators: accessibility text */ 409 _e( 'Show previous theme' ); 410 ?></span></button> 411 <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php 412 /* translators: accessibility text */ 413 _e( 'Show next theme' ); 414 ?></span></button> 415 <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php 416 /* translators: accessibility text */ 417 _e( 'Close details dialog' ); 418 ?></span></button> 410 419 </div> 411 420 <div class="theme-about wp-clearfix"> 412 421 <div class="theme-screenshots"> -
src/wp-admin/tools.php
51 51 <a class="pressthis-bookmarklet" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ); ?></span></a> 52 52 <button type="button" class="button button-secondary pressthis-js-toggle js-show-pressthis-code-wrap" aria-expanded="false" aria-controls="pressthis-code-wrap"> 53 53 <span class="dashicons dashicons-clipboard"></span> 54 <span class="screen-reader-text"><?php _e( 'Copy “Press This” bookmarklet code' ) ?></span> 54 <span class="screen-reader-text"><?php 55 /* translators: accessibility text */ 56 _e( 'Copy “Press This” bookmarklet code' ); 57 ?></span> 55 58 </button> 56 59 </p> 57 60 -
src/wp-admin/update-core.php
296 296 <td class="check-column"> 297 297 <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $plugin_file ); ?>" /> 298 298 <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text"><?php 299 /* translators: %s: plugin name */299 /* translators: %s: plugin name, accessibility text */ 300 300 printf( __( 'Select %s' ), 301 301 $plugin_data->Name 302 302 ); … … 367 367 <td class="check-column"> 368 368 <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $stylesheet ); ?>" /> 369 369 <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text"><?php 370 /* translators: %s: theme name */370 /* translators: %s: theme name, accessibility text */ 371 371 printf( __( 'Select %s' ), 372 372 $theme->display( 'Name' ) 373 373 ); -
src/wp-admin/user-edit.php
262 262 <?php endif; ?> 263 263 <tr class="show-admin-bar user-admin-bar-front-wrap"> 264 264 <th scope="row"><?php _e( 'Toolbar' ); ?></th> 265 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Toolbar') ?></span></legend> 265 <td><fieldset> 266 <legend class="screen-reader-text"><span><?php 267 /* translators: accessibility text */ 268 _e( 'Toolbar' ); 269 ?></span></legend> 266 270 <label for="admin_bar_front"> 267 271 <input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> /> 268 272 <?php _e( 'Show Toolbar when viewing site' ); ?></label><br />