Skip to content

Commit 1381ad9

Browse files
committed
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. git-svn-id: https://develop.svn.wordpress.org/trunk@57334 602fd350-edb4-49c9-b593-d223f7449a82
1 parent e42e65d commit 1381ad9

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

src/wp-includes/taxonomy.php

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,25 @@ function create_initial_taxonomies() {
231231
'publicly_queryable' => false,
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,
238255
'rewrite' => false,

0 commit comments

Comments
 (0)