I18N: Add context for some Media Library filter strings:
* Audio * Video * Unattached This allows for more homogeneous translations in languages where keeping a plural form is important. Follow-up to [6910], [7397], [8901], [9556], [11749], [13100], [12110], [15491], [15578], [22743], [29426], [29625], [34256], [45651], [46437]. Props jdy68, audrasjb, SergeyBiryukov. Fixes #54238. Built from https://develop.svn.wordpress.org/trunk@51903 git-svn-id: http://core.svn.wordpress.org/trunk@51496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2030b6e313
commit
1020306fe9
|
@ -151,7 +151,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
|||
);
|
||||
}
|
||||
|
||||
$type_links['detached'] = '<option value="detached"' . ( $this->detached ? ' selected="selected"' : '' ) . '>' . __( 'Unattached' ) . '</option>';
|
||||
$type_links['detached'] = '<option value="detached"' . ( $this->detached ? ' selected="selected"' : '' ) . '>' . _x( 'Unattached', 'media items' ) . '</option>';
|
||||
|
||||
$type_links['mine'] = sprintf(
|
||||
'<option value="mine"%s>%s</option>',
|
||||
|
|
|
@ -4456,7 +4456,7 @@ function wp_enqueue_media( $args = array() ) {
|
|||
'allDates' => __( 'All dates' ),
|
||||
'noItemsFound' => __( 'No items found.' ),
|
||||
'insertIntoPost' => $post_type_object->labels->insert_into_item,
|
||||
'unattached' => __( 'Unattached' ),
|
||||
'unattached' => _x( 'Unattached', 'media items' ),
|
||||
'mine' => _x( 'Mine', 'media items' ),
|
||||
'trash' => _x( 'Trash', 'noun' ),
|
||||
'uploadedToThisPost' => $post_type_object->labels->uploaded_to_this_item,
|
||||
|
|
|
@ -2939,7 +2939,7 @@ function get_post_mime_types() {
|
|||
),
|
||||
),
|
||||
'audio' => array(
|
||||
__( 'Audio' ),
|
||||
_x( 'Audio', 'file type group' ),
|
||||
__( 'Manage Audio' ),
|
||||
/* translators: %s: Number of audio files. */
|
||||
_n_noop(
|
||||
|
@ -2948,7 +2948,7 @@ function get_post_mime_types() {
|
|||
),
|
||||
),
|
||||
'video' => array(
|
||||
__( 'Video' ),
|
||||
_x( 'Video', 'file type group' ),
|
||||
__( 'Manage Video' ),
|
||||
/* translators: %s: Number of video files. */
|
||||
_n_noop(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51902';
|
||||
$wp_version = '5.9-alpha-51903';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue