Skip to content

Commit

Permalink
fix: Have static short label and updated long label to Add
Browse files Browse the repository at this point in the history
  • Loading branch information
im3dabasia committed Jan 7, 2025
1 parent dd70c03 commit 9236d06
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/editor/src/components/document-tools/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,8 @@ function DocumentTools( { className, disableBlockTools = false } ) {
);

/* translators: button label text should, if possible, be under 16 characters. */
const longLabel = _x(
'Block Inserter',
'Generic label for block inserter button'
);
const shortLabel = ! isInserterOpened ? __( 'Add' ) : __( 'Close' );
const longLabel = _x( 'Add', 'Generic label for block inserter button' );
const shortLabel = __( 'Add' );

return (
// Some plugins expect and use the `edit-post-header-toolbar` CSS class to
Expand Down

0 comments on commit 9236d06

Please sign in to comment.