Changeset 14614 for trunk/wp-admin/edit-tags.php
- Timestamp:
- 05/14/2010 12:34:04 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-tags.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r14594 r14614 20 20 $tax = get_taxonomy($taxonomy); 21 21 22 $title = $tax->label ;22 $title = $tax->labels->name; 23 23 24 24 if ( empty($post_type) || !in_array( $post_type, get_post_types( array('public' => true) ) ) ) … … 117 117 118 118 case 'edit': 119 $title = sprintf(_x('Edit %s', '%s: singular taxonomy name'), $tax->singular_label);119 $title = $tax->labels->edit_item; 120 120 121 121 require_once ('admin-header.php'); … … 193 193 <input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" /> 194 194 <p class="search-box"> 195 <label class="screen-reader-text" for="tag-search-input"><?php printf(_x('Search %s', '%s: plural taxonomy name'), $tax->label); ?>:</label>195 <label class="screen-reader-text" for="tag-search-input"><?php echo $tax->labels->search_items; ?>:</label> 196 196 <input type="text" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 197 <input type="submit" value="<?php echo esc_attr( sprintf(_x('Search %s', '%s: plural taxonomy name'), $tax->label) );?>" class="button" />197 <input type="submit" value="<?php echo esc_attr( $tax->labels->search_items ); ?>" class="button" /> 198 198 </p> 199 199 </form> … … 327 327 ?> 328 328 <div class="tagcloud"> 329 <h3><?php printf(_x('Popular %s', '%s: plural taxonomy name'), $tax->label); ?></h3>329 <h3><?php echo $tax->labels->popular_items; ?></h3> 330 330 <?php echo $tag_cloud; unset( $tag_cloud ); ?> 331 331 </div> … … 342 342 343 343 <div class="form-wrap"> 344 <h3><?php printf(_x('Add a New %s', '%s: singular taxonomy name'), $tax->singular_label); ?></h3>344 <h3><?php echo $tax->labels->add_new_item; ?></h3> 345 345 <form id="addtag" method="post" action="edit-tags.php" class="validate"> 346 346 <input type="hidden" name="action" value="add-tag" /> … … 380 380 do_action($taxonomy . '_add_form_fields', $taxonomy); 381 381 ?> 382 <p class="submit"><input type="submit" class="button" name="submit" id="submit" value="<?php echo esc_attr( sprintf(_x('Add %s', '%s: singular taxonomy name'), $tax->singular_label)); ?>" /></p>382 <p class="submit"><input type="submit" class="button" name="submit" id="submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" /></p> 383 383 <?php 384 384 if ( 'category' == $taxonomy )
Note: See TracChangeset
for help on using the changeset viewer.