Index: trunk/src/wp-admin/edit.php =================================================================== --- trunk/src/wp-admin/edit.php (revision 37890) +++ trunk/src/wp-admin/edit.php (revision 37914) @@ -14,5 +14,5 @@ if ( ! in_array( $typenow, get_post_types( array( 'show_ui' => true ) ) ) ) { - wp_die( __( 'You are not allowed to edit posts in this post type.' ) ); + wp_die( __( 'Sorry, you are not allowed to edit posts in this post type.' ) ); } @@ -38,5 +38,5 @@ wp_die( '
' . __( 'You are not allowed to edit posts in this post type.' ) . '
', + '' . __( 'Sorry, you are not allowed to edit posts in this post type.' ) . '
', 403 ); @@ -104,5 +104,5 @@ foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id) ) - wp_die( __('You are not allowed to move this item to the Trash.') ); + wp_die( __('Sorry, you are not allowed to move this item to the Trash.') ); if ( wp_check_post_lock( $post_id ) ) { @@ -123,5 +123,5 @@ foreach ( (array) $post_ids as $post_id ) { if ( !current_user_can( 'delete_post', $post_id) ) - wp_die( __('You are not allowed to restore this item from the Trash.') ); + wp_die( __('Sorry, you are not allowed to restore this item from the Trash.') ); if ( !wp_untrash_post($post_id) ) @@ -138,5 +138,5 @@ if ( !current_user_can( 'delete_post', $post_id ) ) - wp_die( __('You are not allowed to delete this item.') ); + wp_die( __('Sorry, you are not allowed to delete this item.') ); if ( $post_del->post_type == 'attachment' ) {