mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Media: Change wording for media files which aren't attached.
The media library can contain files which aren't attached yet. When attaching a file you currently get "Media attachment reattached.", or the opposite "Media attachment detached.". That's redundant and can be inaccurate. It's also not easy to translate in some languages. This change generalizes the strings to refer to a "media file" instead. Props SergeyBiryukov, ocean90, netweb. Fixes #36089. git-svn-id: https://develop.svn.wordpress.org/trunk@36887 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3362,7 +3362,7 @@ function wp_enqueue_media( $args = array() ) {
|
||||
'filterByDate' => __( 'Filter by date' ),
|
||||
'filterByType' => __( 'Filter by type' ),
|
||||
'searchMediaLabel' => __( 'Search Media' ),
|
||||
'noMedia' => __( 'No media attachments found.' ),
|
||||
'noMedia' => __( 'No media files found.' ),
|
||||
|
||||
// Library Details
|
||||
'attachmentDetails' => __( 'Attachment Details' ),
|
||||
|
||||
Reference in New Issue
Block a user