Skip to content

Commit

Permalink
BlockGroupToolbar: Better i18n context for toolbar labels
Browse files Browse the repository at this point in the history
Follow-up of #59853
  • Loading branch information
mcsf committed Oct 17, 2024
1 parent f83c592 commit 05711f4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,27 @@ function BlockGroupToolbar() {
<ToolbarGroup>
<ToolbarButton
icon={ group }
label={ _x( 'Group', 'verb' ) }
label={ _x( 'Group', 'action: convert blocks to group' ) }
onClick={ onConvertToGroup }
/>
{ canInsertRow && (
<ToolbarButton
icon={ row }
label={ _x( 'Row', 'single horizontal line' ) }
label={ _x( 'Row', 'action: convert blocks to row' ) }
onClick={ onConvertToRow }
/>
) }
{ canInsertStack && (
<ToolbarButton
icon={ stack }
label={ _x( 'Stack', 'verb' ) }
label={ _x( 'Stack', 'action: convert blocks to stack' ) }
onClick={ onConvertToStack }
/>
) }
{ canInsertGrid && (
<ToolbarButton
icon={ grid }
label={ _x( 'Grid', 'verb' ) }
label={ _x( 'Grid', 'action: convert blocks to grid' ) }
onClick={ onConvertToGrid }
/>
) }
Expand Down

0 comments on commit 05711f4

Please sign in to comment.