mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Media: Update the media bulk action labels for consistency.
Props ianbelanger, garrett-eclipse, afercia, Presskopp. Fixes #44675. git-svn-id: https://develop.svn.wordpress.org/trunk@45147 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -480,9 +480,9 @@ function wp_print_media_templates() {
|
||||
<# if ( ! data.uploading && data.can.remove ) { #> |
|
||||
<?php if ( MEDIA_TRASH ) : ?>
|
||||
<# if ( 'trash' === data.status ) { #>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
|
||||
<# } else { #>
|
||||
<button type="button" class="button-link trash-attachment"><?php _ex( 'Trash', 'verb' ); ?></button>
|
||||
<button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button>
|
||||
<# } #>
|
||||
<?php else : ?>
|
||||
<button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button>
|
||||
@@ -591,9 +591,9 @@ function wp_print_media_templates() {
|
||||
<# if ( ! data.uploading && data.can.remove ) { #>
|
||||
<?php if ( MEDIA_TRASH ) : ?>
|
||||
<# if ( 'trash' === data.status ) { #>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
|
||||
<# } else { #>
|
||||
<button type="button" class="button-link trash-attachment"><?php _ex( 'Trash', 'verb' ); ?></button>
|
||||
<button type="button" class="button-link trash-attachment"><?php _ex( 'Move to Trash', 'verb' ); ?></button>
|
||||
<# } #>
|
||||
<?php else : ?>
|
||||
<button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button>
|
||||
|
||||
@@ -3680,10 +3680,8 @@ function wp_enqueue_media( $args = array() ) {
|
||||
'warnBulkDelete' => __( "You are about to permanently delete these items from your site.\nThis action cannot be undone.\n 'Cancel' to stop, 'OK' to delete." ),
|
||||
'warnBulkTrash' => __( "You are about to trash these items.\n 'Cancel' to stop, 'OK' to delete." ),
|
||||
'bulkSelect' => __( 'Bulk Select' ),
|
||||
'cancelSelection' => __( 'Cancel Selection' ),
|
||||
'trashSelected' => __( 'Trash Selected' ),
|
||||
'untrashSelected' => __( 'Untrash Selected' ),
|
||||
'deleteSelected' => __( 'Delete Selected' ),
|
||||
'trashSelected' => __( 'Move to Trash' ),
|
||||
'restoreSelected' => __( 'Restore from Trash' ),
|
||||
'deletePermanently' => __( 'Delete Permanently' ),
|
||||
'apply' => __( 'Apply' ),
|
||||
'filterByDate' => __( 'Filter by date' ),
|
||||
|
||||
Reference in New Issue
Block a user