Skip to content

Commit c42b7ef

Browse files
Update Label
1 parent 4b0bd79 commit c42b7ef

File tree

1 file changed

+6
-1
lines changed
  • packages/editor/src/components/commands

1 file changed

+6
-1
lines changed

packages/editor/src/components/commands/index.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,14 @@ const getSiteEditorCategoryCommands = () =>
304304
const taxonomy = templateSlug.includes( 'tag' )
305305
? 'post_tag'
306306
: 'category';
307+
const label =
308+
taxonomy === 'post_tag'
309+
? __( 'Manage Tags' )
310+
: __( 'Manage Categories' );
311+
307312
commands.push( {
308313
name: 'core/manage-categories',
309-
label: __( 'Manage Categories' ),
314+
label,
310315
icon: category,
311316
callback: ( { close } ) => {
312317
close();

0 commit comments

Comments
 (0)