lib/Taxonomy_Labels.php
public function get_labels( $name_singular, $name_plural ) {
		$labels = [
			'name'                       => $name_plural,
			'singular_name'              => $name_singular,
			/* translators: %s: Singular taxonomy name */
			'add_new_item'               => sprintf( __( 'Add New %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'add_or_remove_items'        => sprintf( __( 'Add or remove %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'all_items'                  => sprintf( __( 'All %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular post type name */
			'archives'                   => sprintf( __( '%s Archives', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'back_to_items'              => sprintf( __( '&larr; Back to %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'choose_from_most_used'      => sprintf( __( 'Choose from the most used %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'edit_item'                  => sprintf( __( 'Edit %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'items_list'                 => sprintf( __( '%s list', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'items_list_navigation'      => sprintf( __( '%s list navigation', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'new_item_name'              => sprintf( __( 'New %s Name', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'no_terms'                   => sprintf( __( 'No %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'not_found'                  => sprintf( __( 'No %s found.', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'parent_item'                => sprintf( __( 'Parent %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Singular taxonomy name */
			'parent_item_colon'          => sprintf( __( 'Parent %s:', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'popular_items'              => sprintf( __( 'Popular %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'search_items'               => sprintf( __( 'Search %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'separate_items_with_commas' => sprintf( __( 'Separate %s with commas', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'update_item'                => sprintf( __( 'Update %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Singular taxonomy name */
			'view_item'                  => sprintf( __( 'View %s', 'mind/types' ), $name_singular ),
			'name_admin_bar'             => $name_singular,
			'menu_name'                  => $name_plural,
		];

		return $labels;
	}
public function get_labels( $name_singular, $name_plural ) {
		$labels = [
			'name'                       => $name_plural,
			'singular_name'              => $name_singular,
			/* translators: %s: Singular taxonomy name */
			'add_new_item'               => sprintf( __( 'Add New %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'add_or_remove_items'        => sprintf( __( 'Add or remove %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'all_items'                  => sprintf( __( 'All %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular post type name */
			'archives'                   => sprintf( __( '%s Archives', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'back_to_items'              => sprintf( __( '&larr; Back to %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'choose_from_most_used'      => sprintf( __( 'Choose from the most used %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'edit_item'                  => sprintf( __( 'Edit %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'items_list'                 => sprintf( __( '%s list', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'items_list_navigation'      => sprintf( __( '%s list navigation', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'new_item_name'              => sprintf( __( 'New %s Name', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'no_terms'                   => sprintf( __( 'No %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'not_found'                  => sprintf( __( 'No %s found.', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'parent_item'                => sprintf( __( 'Parent %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Singular taxonomy name */
			'parent_item_colon'          => sprintf( __( 'Parent %s:', 'mind/types' ), $name_singular ),
			/* translators: %s: Plural taxonomy name */
			'popular_items'              => sprintf( __( 'Popular %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'search_items'               => sprintf( __( 'Search %s', 'mind/types' ), $name_plural ),
			/* translators: %s: Plural taxonomy name */
			'separate_items_with_commas' => sprintf( __( 'Separate %s with commas', 'mind/types' ), $name_plural ),
			/* translators: %s: Singular taxonomy name */
			'update_item'                => sprintf( __( 'Update %s', 'mind/types' ), $name_singular ),
			/* translators: %s: Singular taxonomy name */
			'view_item'                  => sprintf( __( 'View %s', 'mind/types' ), $name_singular ),
			'name_admin_bar'             => $name_singular,
			'menu_name'                  => $name_plural,
		];

		return $labels;
	}
public function get_labels ( $ name_singular , $ name_plural ) { $ labels = [ 'name' => $ name_plural , 'singular_name' => $ name_singular , /* translators: %s: Singular taxonomy name */ 'add_new_item' => sprintf ( __ ( 'Add New %s' , 'mind/types' ) , $ name_singular ) , /* translators: %s: Plural taxonomy name */ 'add_or_remove_items' => sprintf ( __ ( 'Add or remove %s' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Plural taxonomy name */ 'all_items' => sprintf ( __ ( 'All %s' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Singular post type name */ 'archives' => sprintf ( __ ( '%s Archives' , 'mind/types' ) , $ name_singular ) , /* translators: %s: Plural taxonomy name */ 'back_to_items' => sprintf ( __ ( '&larr; Back to %s' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Plural taxonomy name */ 'choose_from_most_used' => sprintf ( __ ( 'Choose from the most used %s' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Singular taxonomy name */ 'edit_item' => sprintf ( __ ( 'Edit %s' , 'mind/types' ) , $ name_singular ) , /* translators: %s: Plural taxonomy name */ 'items_list' => sprintf ( __ ( '%s list' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Plural taxonomy name */ 'items_list_navigation' => sprintf ( __ ( '%s list navigation' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Singular taxonomy name */ 'new_item_name' => sprintf ( __ ( 'New %s Name' , 'mind/types' ) , $ name_singular ) , /* translators: %s: Plural taxonomy name */ 'no_terms' => sprintf ( __ ( 'No %s' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Plural taxonomy name */ 'not_found' => sprintf ( __ ( 'No %s found.' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Singular taxonomy name */ 'parent_item' => sprintf ( __ ( 'Parent %s' , 'mind/types' ) , $ name_singular ) , /* translators: %s: Singular taxonomy name */ 'parent_item_colon' => sprintf ( __ ( 'Parent %s:' , 'mind/types' ) , $ name_singular ) , /* translators: %s: Plural taxonomy name */ 'popular_items' => sprintf ( __ ( 'Popular %s' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Plural taxonomy name */ 'search_items' => sprintf ( __ ( 'Search %s' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Plural taxonomy name */ 'separate_items_with_commas' => sprintf ( __ ( 'Separate %s with commas' , 'mind/types' ) , $ name_plural ) , /* translators: %s: Singular taxonomy name */ 'update_item' => sprintf ( __ ( 'Update %s' , 'mind/types' ) , $ name_singular ) , /* translators: %s: Singular taxonomy name */ 'view_item' => sprintf ( __ ( 'View %s' , 'mind/types' ) , $ name_singular ) , 'name_admin_bar' => $ name_singular , 'menu_name' => $ name_plural , ] ; return $ labels ; }
Get labels for taxonomy base on singular and plural name.

The following labels are not translated, because they don’t contain the post type name:
most_used

@link https://developer.wordpress.org/reference/functions/get_taxonomy_labels/

@param string $name_singular Singular name for taxonomy.
@param string $name_plural   Plural name for taxonomy.

@return array The translated labels.
Get labels for taxonomy base on singular and plural name .