Changeset 23006 for trunk/wp-includes/media.php
- Timestamp:
- 12/04/2012 01:26:03 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/media.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22994 r23006 1468 1468 // Library 1469 1469 'mediaLibraryTitle' => __( 'Media Library' ), 1470 'insertMediaTitle' => __( 'Insert Media' ), 1470 1471 'createNewGallery' => __( 'Create a new gallery' ), 1471 1472 'returnToLibrary' => __( '← Return to library' ), 1472 1473 'allMediaItems' => __( 'All media items' ), 1474 'noItemsFound' => __( 'No items found.' ), 1473 1475 'insertIntoPost' => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ), 1474 1476 'uploadedToThisPost' => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ), … … 1490 1492 'continueEditing' => __( 'Continue editing' ), 1491 1493 'addToGallery' => __( 'Add to gallery' ), 1494 'addToGalleryTitle' => __( 'Add to Gallery' ), 1492 1495 'reverseOrder' => __( 'Reverse order' ), 1493 1496 ); … … 1518 1521 <script type="text/html" id="tmpl-media-frame"> 1519 1522 <div class="media-frame-menu"></div> 1523 <div class="media-frame-title"></div> 1524 <div class="media-frame-router"></div> 1520 1525 <div class="media-frame-content"></div> 1521 1526 <div class="media-frame-toolbar"></div> … … 1525 1530 <script type="text/html" id="tmpl-media-modal"> 1526 1531 <div class="media-modal wp-core-ui"> 1527 <h3 class="media-modal-title">{{ data.title }}</h3> 1528 <a class="media-modal-close media-modal-icon" href="#" title="<?php esc_attr_e('Close'); ?>"></a> 1532 <a class="media-modal-close" href="#" title="<?php esc_attr_e('Close'); ?>"><span class="media-modal-icon"></span></a> 1529 1533 <div class="media-modal-content"></div> 1530 1534 </div> 1531 <div class="media-modal-backdrop"> 1532 <div></div> 1533 </div> 1535 <div class="media-modal-backdrop"></div> 1534 1536 </script> 1535 1537 … … 1541 1543 1542 1544 <script type="text/html" id="tmpl-uploader-inline"> 1543 <div class="uploader-inline-content"> 1545 <# var messageClass = data.message ? 'has-upload-message' : 'no-upload-message'; #> 1546 <div class="uploader-inline-content {{ messageClass }}"> 1547 <# if ( data.message ) { #> 1548 <h3 class="upload-message">{{ data.message }}</h3> 1549 <# } #> 1544 1550 <?php if ( ! _device_can_upload() ) : ?> 1545 <h3 ><?php _e('The web browser on your device cannot be used to upload files. You may be able to use the <a href="http://wordpress.org/extend/mobile/">native app for your device</a> instead.'); ?></h3>1551 <h3 class="upload-instructions"><?php _e('The web browser on your device cannot be used to upload files. You may be able to use the <a href="http://wordpress.org/extend/mobile/">native app for your device</a> instead.'); ?></h3> 1546 1552 <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?> 1547 <h3 ><?php _e( 'Upload Limit Exceeded' ); ?></h3>1553 <h3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3> 1548 1554 <?php do_action( 'upload_ui_over_quota' ); ?> 1549 1555 1550 1556 <?php else : ?> 1551 1557 <div class="upload-ui"> 1552 <h3 class=" drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h3>1558 <h3 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h3> 1553 1559 <a href="#" class="browser button button-hero"><?php _e( 'Select Files' ); ?></a> 1554 1560 </div> … … 1745 1751 </script> 1746 1752 1747 <script type="text/html" id="tmpl-media-selection-preview">1748 <div class="selected-img selected-count-{{ data.count }}">1749 <# if ( data.thumbnail ) { #>1750 <img src="{{ data.thumbnail }}" draggable="false" />1751 <# } #>1752 1753 <span class="count">{{ data.count }}</span>1754 </div>1755 <# if ( data.clearable ) { #>1756 <a class="clear-selection" href="#"><?php _e('Clear selection'); ?></a>1757 <# } #>1758 </script>1759 1760 1753 <script type="text/html" id="tmpl-attachment-display-settings"> 1761 1754 <h3><?php _e('Attachment Display Settings'); ?></h3>
Note: See TracChangeset
for help on using the changeset viewer.