From e64f2d30f07217ad1a5e9b79b8a0d9ae40073f7b Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 1 Apr 2010 20:14:26 +0000 Subject: [PATCH] Use correct post type label in a few key places. git-svn-id: http://svn.automattic.com/wordpress/trunk@13916 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-advanced.php | 2 +- wp-admin/edit.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index abbfdc01cb..0aedbbc7b5 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -107,7 +107,7 @@ if ( post_type_supports($post_type, 'page-attributes') ) add_meta_box('pageparentdiv', __('Attributes'), 'page_attributes_meta_box', $post_type, 'side', 'core'); if ( current_theme_supports( 'post-thumbnails', $post_type ) && post_type_supports($post_type, 'thumbnail') ) - add_meta_box('postimagediv', __('Post Thumbnail'), 'post_thumbnail_meta_box', $post_type, 'side', 'low'); + add_meta_box('postimagediv', sprintf( __('%s Thumbnail'), $post_type_object->singular_label ), 'post_thumbnail_meta_box', $post_type, 'side', 'low'); if ( post_type_supports($post_type, 'excerpt') ) add_meta_box('postexcerpt', __('Excerpt'), 'post_excerpt_meta_box', $post_type, 'normal', 'core'); diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 203e3453a6..2f3ec853df 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -262,9 +262,9 @@ endif; @@ -410,9 +410,9 @@ if ( $page_links )

label ); else - _e( 'No posts found.' ); + printf( __( 'No %s found.' ), $post_type_object->label ); ?>