Make WordPress Core

Changeset 57334

Timestamp:
01/23/2024 09:14:37 AM (6 months ago)
Author:
youknowriad
Message:

Editor: Define the labels of the pattern category taxonomy.

In WordPress 6.5, the taxonomy is going to be rendered using a standard UI
in the editor, this means that all the labels need to be defined properly.

Props ntsekouras.
Fixes #60322.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r57331 r57334  
    232232            'hierarchical'       => false,
    233233            'labels'             => array(
    234                 'name'          => _x( 'Pattern Categories', 'taxonomy general name' ),
    235                 'singular_name' => _x( 'Pattern Category', 'taxonomy singular name' ),
     234                'name'                       => _x( 'Pattern Categories', 'taxonomy general name' ),
     235                'singular_name'              => _x( 'Pattern Category', 'taxonomy singular name' ),
     236                'add_new_item'               => __( 'Add New Category' ),
     237                'add_or_remove_items'        => __( 'Add or remove pattern categories' ),
     238                'back_to_items'              => __( '← Go to pattern categories' ),
     239                'choose_from_most_used'      => __( 'Choose from the most used pattern categories' ),
     240                'edit_item'                  => __( 'Edit Pattern Category' ),
     241                'item_link'                  => __( 'Pattern Category Link' ),
     242                'item_link_description'      => __( 'A link to a pattern category.' ),
     243                'items_list'                 => __( 'Pattern Categories list' ),
     244                'items_list_navigation'      => __( 'Pattern Categories list navigation' ),
     245                'new_item_name'              => __( 'New Pattern Category Name' ),
     246                'no_terms'                   => __( 'No pattern categories' ),
     247                'not_found'                  => __( 'No pattern categories found.' ),
     248                'popular_items'              => __( 'Popular Pattern Categories' ),
     249                'search_items'               => __( 'Search Pattern Categories' ),
     250                'separate_items_with_commas' => __( 'Separate pattern categories with commas' ),
     251                'update_item'                => __( 'Update Pattern Category' ),
     252                'view_item'                  => __( 'View Pattern Category' ),
    236253            ),
    237254            'query_var'          => false,
Note: See TracChangeset for help on using the changeset viewer.