Make WordPress Core


Ignore:
Timestamp:
02/21/2010 09:24:48 PM (15 years ago)
Author:
markjaquith
Message:

Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r13175 r13285  
    271271
    272272    ob_start();
    273         wp_dropdown_categories( array( 'taxonomy' => $taxonomy->name, 'hide_empty' => 0, 'name' => 'new'.$taxonomy->name.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category') ) );
     273        wp_dropdown_categories( array( 'taxonomy' => $taxonomy->name, 'hide_empty' => 0, 'name' => 'new'.$taxonomy->name.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => sprintf( __('— Parent %s —'), $taxonomy->singular_label ) ) );
    274274    $sup = ob_get_contents();
    275275    ob_end_clean();
Note: See TracChangeset for help on using the changeset viewer.