Ticket #33616: 33616.diff
File 33616.diff, 2.3 KB (added by , 9 years ago) |
---|
-
src/wp-includes/media.php
3022 3022 } 3023 3023 } 3024 3024 3025 $hier = $post && is_post_type_hierarchical( $post->post_type );3026 3027 3025 if ( $post ) { 3028 3026 $post_type_object = get_post_type_object( $post->post_type ); 3029 3027 } else { … … 3062 3060 'allMediaItems' => __( 'All media items' ), 3063 3061 'allDates' => __( 'All dates' ), 3064 3062 'noItemsFound' => __( 'No items found.' ), 3065 'insertIntoPost' => $ hier ? __( 'Insert into page' ) : __( 'Insert into post' ),3063 'insertIntoPost' => $post_type_object->labels->insert_into_item, 3066 3064 'unattached' => __( 'Unattached' ), 3067 3065 'trash' => _x( 'Trash', 'noun' ), 3068 'uploadedToThisPost' => $ hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ),3066 'uploadedToThisPost' => $post_type_object->labels->uploaded_to_this_item, 3069 3067 'warnDelete' => __( "You are about to permanently delete this item.\n 'Cancel' to stop, 'OK' to delete." ), 3070 3068 'warnBulkDelete' => __( "You are about to permanently delete these items.\n 'Cancel' to stop, 'OK' to delete." ), 3071 3069 'warnBulkTrash' => __( "You are about to trash these items.\n 'Cancel' to stop, 'OK' to delete." ), -
src/wp-includes/post-functions.php
1326 1326 'not_found_in_trash' => array( __('No posts found in Trash.'), __('No pages found in Trash.') ), 1327 1327 'parent_item_colon' => array( null, __('Parent Page:') ), 1328 1328 'all_items' => array( __( 'All Posts' ), __( 'All Pages' ) ), 1329 'insert_into_item' => array( __( 'Insert into post' ), __( 'Insert into page' ) ), 1330 'uploaded_to_this_item' => array( __( 'Uploaded to this post' ), __( 'Uploaded to this page' ) ), 1329 1331 'featured_image' => array( __( 'Featured Image' ), __( 'Featured Image' ) ), 1330 1332 'set_featured_image' => array( __( 'Set featured image' ), __( 'Set featured image' ) ), 1331 1333 'remove_featured_image' => array( __( 'Remove featured image' ), __( 'Remove featured image' ) ),