Ticket #33616: 33616.2.diff
File 33616.2.diff, 2.9 KB (added by , 10 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
1295 1295 * - parent_item_colon - This string isn't used on non-hierarchical types. In hierarchical 1296 1296 * ones the default is 'Parent Page:'. 1297 1297 * - all_items - String for the submenu. Default is All Posts/All Pages. 1298 * - insert_into_item - String for the media frame button. Default is Insert into post/Insert into page. 1299 * - uploaded_to_this_item - String for the media frame filter. Default is Uploaded to this post/Uploaded to this page. 1298 1300 * - featured_image - Default is Featured Image. 1299 1301 * - set_featured_image - Default is Set featured image. 1300 1302 * - remove_featured_image - Default is Remove featured image. … … 1326 1328 'not_found_in_trash' => array( __('No posts found in Trash.'), __('No pages found in Trash.') ), 1327 1329 'parent_item_colon' => array( null, __('Parent Page:') ), 1328 1330 'all_items' => array( __( 'All Posts' ), __( 'All Pages' ) ), 1331 'insert_into_item' => array( __( 'Insert into post' ), __( 'Insert into page' ) ), 1332 'uploaded_to_this_item' => array( __( 'Uploaded to this post' ), __( 'Uploaded to this page' ) ), 1329 1333 'featured_image' => array( __( 'Featured Image' ), __( 'Featured Image' ) ), 1330 1334 'set_featured_image' => array( __( 'Set featured image' ), __( 'Set featured image' ) ), 1331 1335 'remove_featured_image' => array( __( 'Remove featured image' ), __( 'Remove featured image' ) ),