diff --git a/src/ContentType.php b/src/ContentType.php index 84123d3..36f3288 100644 --- a/src/ContentType.php +++ b/src/ContentType.php @@ -218,8 +218,24 @@ public function get_taxonomy_args(): array { $args = array( 'label' => $this->taxonomy_plural_name, 'labels' => array( - 'name' => $this->taxonomy_plural_name, - 'singular_name' => $this->taxonomy_singular_name, + 'name' => $this->taxonomy_plural_name, + 'singular_name' => $this->taxonomy_singular_name, + 'search_items' => 'Search ' . $this->taxonomy_plural_name, + 'all_items' => 'All ' . $this->taxonomy_plural_name, + 'parent_item' => 'Parent ' . $this->taxonomy_singular_name, + 'edit_item' => 'Edit ' . $this->taxonomy_singular_name, + 'view_item' => 'View ' . $this->taxonomy_singular_name, + 'update_item' => 'Update ' . $this->taxonomy_singular_name, + 'add_new_item' => 'Add New ' . $this->taxonomy_singular_name, + 'new_item_name' => 'New ' . $this->taxonomy_singular_name . ' Name', + 'template_name' => $this->taxonomy_singular_name . ' Archives', + 'separate_items_with_commas' => 'Separate ' . $this->taxonomy_plural_name . ' with commas', + 'add_or_remove_items' => 'Add or remove ' . $this->taxonomy_plural_name, + 'choose_from_most_used' => 'Choose from the most used ' . $this->taxonomy_plural_name, + 'not_found' => 'No ' . $this->taxonomy_plural_name . ' found', + 'back_to_items' => 'Back to ' . $this->taxonomy_plural_name, + 'item_link' => $this->taxonomy_singular_name . ' Link', + 'item_link_description' => 'A link to a ' . $this->taxonomy_singular_name, ), 'public' => true, 'publicly_queryable' => true,