Changeset 13916
- Timestamp:
- 04/01/2010 08:14:26 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r13710 r13916 108 108 109 109 if ( current_theme_supports( 'post-thumbnails', $post_type ) && post_type_supports($post_type, 'thumbnail') ) 110 add_meta_box('postimagediv', __('Post Thumbnail'), 'post_thumbnail_meta_box', $post_type, 'side', 'low');110 add_meta_box('postimagediv', sprintf( __('%s Thumbnail'), $post_type_object->singular_label ), 'post_thumbnail_meta_box', $post_type, 'side', 'low'); 111 111 112 112 if ( post_type_supports($post_type, 'excerpt') ) -
trunk/wp-admin/edit.php
r13841 r13916 263 263 264 264 <p class="search-box"> 265 <label class="screen-reader-text" for="post-search-input"><?php _e( 'Search Posts'); ?>:</label>265 <label class="screen-reader-text" for="post-search-input"><?php printf( __( 'Search %s' ), $post_type_object->label ); ?>:</label> 266 266 <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 267 <input type="submit" value="<?php e sc_attr_e( 'Search Posts'); ?>" class="button" />267 <input type="submit" value="<?php echo esc_attr( sprintf( __( 'Search %s' ), $post_type_object->label ) ); ?>" class="button" /> 268 268 </p> 269 269 … … 411 411 <p><?php 412 412 if ( isset($_GET['post_status']) && 'trash' == $_GET['post_status'] ) 413 _e( 'No posts found in the Trash.');413 printf( __( 'No %s found in the Trash.' ), $post_type_object->label ); 414 414 else 415 _e( 'No posts found.');415 printf( __( 'No %s found.' ), $post_type_object->label ); 416 416 ?></p> 417 417 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.