From fe6f5b3af3190b05984f656a69122e92e1e7a8e1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 24 Sep 2014 13:48:27 +0000 Subject: [PATCH] Add context for 'Trash' string in media modal. props pavelevap. fixes #29739. git-svn-id: https://develop.svn.wordpress.org/trunk@29764 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media-template.php | 4 ++-- src/wp-includes/media.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/media-template.php b/src/wp-includes/media-template.php index 40233375ed..8299642c7d 100644 --- a/src/wp-includes/media-template.php +++ b/src/wp-includes/media-template.php @@ -417,7 +417,7 @@ function wp_print_media_templates() { <# if ( 'trash' === data.status ) { #> <# } else { #> - + <# } #> @@ -520,7 +520,7 @@ function wp_print_media_templates() { <# if ( 'trash' === data.status ) { #> <# } else { #> - + <# } #> diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 73877bfb1d..7a39418f4a 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -2937,7 +2937,7 @@ function wp_enqueue_media( $args = array() ) { 'noItemsFound' => __( 'No items found.' ), 'insertIntoPost' => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ), 'unattached' => __( 'Unattached' ), - 'trash' => __( 'Trash' ), + 'trash' => _x( 'Trash', 'noun' ), 'uploadedToThisPost' => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ), 'warnDelete' => __( "You are about to permanently delete this item.\n 'Cancel' to stop, 'OK' to delete." ), 'warnBulkDelete' => __( "You are about to permanently delete these items.\n 'Cancel' to stop, 'OK' to delete." ),