X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8ab4a4532479e8db471032b51042ec8c4716d091..e0feb3b2e5b436a06bbb04fbc838d1cd6ec95399:/wp-admin/upload.php diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 39fa165f..7154148c 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -71,14 +71,14 @@ if ( 'grid' === $mode ) { require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+

- -

+

Switch to the list view.' ); ?>

@@ -129,7 +129,7 @@ if ( $doaction ) { wp_die( __( 'You are not allowed to move this post to the trash.' ) ); if ( !wp_trash_post( $post_id ) ) - wp_die( __( 'Error in moving to trash.' ) ); + wp_die( __( 'Error in moving to Trash.' ) ); } $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location ); break; @@ -141,7 +141,7 @@ if ( $doaction ) { wp_die( __( 'You are not allowed to move this post out of the trash.' ) ); if ( !wp_untrash_post( $post_id ) ) - wp_die( __( 'Error in restoring from trash.' ) ); + wp_die( __( 'Error in restoring from Trash.' ) ); } $location = add_query_arg( 'untrashed', count( $post_ids ), $location ); break; @@ -206,15 +206,15 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
-

+

- ' . __('Search results for “%s”') . '', get_search_query() ); ?> -

+ ' . __('Undo') . ''; -$messages[5] = __('Media restored from the trash.'); +$messages[1] = __( 'Media attachment updated.' ); +$messages[2] = __( 'Media attachment permanently deleted.' ); +$messages[3] = __( 'Error saving media attachment.' ); +$messages[4] = __( 'Media attachment moved to the trash.' ) . ' ' . __( 'Undo' ) . ''; +$messages[5] = __( 'Media attachment restored from the trash.' ); if ( ! empty( $_GET['message'] ) && isset( $messages[ $_GET['message'] ] ) ) { $message = $messages[ $_GET['message'] ];