Changeset 45926 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 09/01/2019 05:12:43 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r45881 r45926 532 532 ?> 533 533 <div class="hidden" id="trash-undo-holder"> 534 <div class="trash-undo-inside"><?php printf( __( 'Comment by %s moved to the trash.' ), '<strong></strong>' ); ?> <span class="undo untrash"><a href="#"><?php _e( 'Undo' ); ?></a></span></div> 534 <div class="trash-undo-inside"> 535 <?php 536 /* translators: %s: comment author, filled by AJAX */ 537 printf( __( 'Comment by %s moved to the trash.' ), '<strong></strong>' ); 538 ?> 539 <span class="undo untrash"><a href="#"><?php _e( 'Undo' ); ?></a></span> 540 </div> 535 541 </div> 536 542 <div class="hidden" id="spam-undo-holder"> 537 <div class="spam-undo-inside"><?php printf( __( 'Comment by %s marked as spam.' ), '<strong></strong>' ); ?> <span class="undo unspam"><a href="#"><?php _e( 'Undo' ); ?></a></span></div> 543 <div class="spam-undo-inside"> 544 <?php 545 /* translators: %s: comment author, filled by AJAX */ 546 printf( __( 'Comment by %s marked as spam.' ), '<strong></strong>' ); 547 ?> 548 <span class="undo unspam"><a href="#"><?php _e( 'Undo' ); ?></a></span> 549 </div> 538 550 </div> 539 551 <?php … … 956 968 <form enctype="multipart/form-data" id="import-upload-form" method="post" class="wp-upload-form" action="<?php echo esc_url( wp_nonce_url( $action, 'import-upload' ) ); ?>"> 957 969 <p> 958 <label for="upload"><?php _e( 'Choose a file from your computer:' ); ?></label> (<?php printf( __( 'Maximum size: %s' ), $size ); ?>) 970 <?php 971 printf( 972 '<label for="upload">%s</label> (%s)', 973 __( 'Choose a file from your computer:' ), 974 /* translators: %s: maximum allowed file size */ 975 sprintf( __( 'Maximum size: %s' ), $size ) 976 ); 977 ?> 959 978 <input type="file" id="upload" name="import" size="25" /> 960 979 <input type="hidden" name="action" value="save" /> … … 1290 1309 1291 1310 echo '<button type="button" class="handlediv" aria-expanded="true">'; 1292 echo '<span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $widget_title ) . '</span>'; 1311 echo '<span class="screen-reader-text">' . sprintf( 1312 /* translators: meta box title */ 1313 __( 'Toggle panel: %s' ), 1314 $widget_title 1315 ) . '</span>'; 1293 1316 echo '<span class="toggle-indicator" aria-hidden="true"></span>'; 1294 1317 echo '</button>'; … … 1490 1513 __FUNCTION__, 1491 1514 '3.0.0', 1492 /* translators: %s: misc */1493 1515 sprintf( 1516 /* translators: %s: misc */ 1494 1517 __( 'The "%s" options group has been removed. Use another settings group.' ), 1495 1518 'misc' … … 1503 1526 __FUNCTION__, 1504 1527 '3.5.0', 1505 /* translators: %s: privacy */1506 1528 sprintf( 1529 /* translators: %s: privacy */ 1507 1530 __( 'The "%s" options group has been removed. Use another settings group.' ), 1508 1531 'privacy' … … 1561 1584 __FUNCTION__, 1562 1585 '3.0.0', 1563 /* translators: %s: misc */1564 1586 sprintf( 1587 /* translators: %s: misc */ 1565 1588 __( 'The "%s" options group has been removed. Use another settings group.' ), 1566 1589 'misc' … … 1574 1597 __FUNCTION__, 1575 1598 '3.5.0', 1576 /* translators: %s: privacy */1577 1599 sprintf( 1600 /* translators: %s: privacy */ 1578 1601 __( 'The "%s" options group has been removed. Use another settings group.' ), 1579 1602 'privacy'
Note: See TracChangeset
for help on using the changeset viewer.