I18N: Use consistent context for the "Add New" string when referring to media.

This replaces the only instance of the `add new media` context with `file`, used in other instances of the string.

Follow-up to [9198], [10680], [21948].

Props benjgrolleau, tobifjellner, SergeyBiryukov.
Fixes #55876.
Built from https://develop.svn.wordpress.org/trunk@53453


git-svn-id: http://core.svn.wordpress.org/trunk@53042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-05-31 18:39:10 +00:00
parent d0712f35d4
commit f2a7f4a387
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ function create_initial_post_types() {
'labels' => array( 'labels' => array(
'name' => _x( 'Media', 'post type general name' ), 'name' => _x( 'Media', 'post type general name' ),
'name_admin_bar' => _x( 'Media', 'add new from admin bar' ), 'name_admin_bar' => _x( 'Media', 'add new from admin bar' ),
'add_new' => _x( 'Add New', 'add new media' ), 'add_new' => _x( 'Add New', 'file' ),
'edit_item' => __( 'Edit Media' ), 'edit_item' => __( 'Edit Media' ),
'view_item' => __( 'View Attachment Page' ), 'view_item' => __( 'View Attachment Page' ),
'attributes' => __( 'Attachment Attributes' ), 'attributes' => __( 'Attachment Attributes' ),

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-alpha-53452'; $wp_version = '6.1-alpha-53453';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.