Skip to content

Commit

Permalink
Use the right property title instead of label for ToolbarButton
Browse files Browse the repository at this point in the history
  • Loading branch information
Tug committed Jun 18, 2019
1 parent 654df82 commit 8611c43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const BlockMobileToolbar = ( {
<InspectorControls.Slot />

<ToolbarButton
label={
title={
sprintf(
/* translators: accessibility text. %s: current block position (number). */
__( 'Remove block at row %s' ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const BlockMover = ( {
} ) => (
<>
<ToolbarButton
label={ ! isFirst ?
title={ ! isFirst ?
sprintf(
/* translators: accessibility text. %1: current block position (number). %2: next block position (number) */
__( 'Move block up from row %1$s to row %2$s' ),
Expand All @@ -37,7 +37,7 @@ const BlockMover = ( {
/>

<ToolbarButton
label={ ! isLast ?
title={ ! isLast ?
sprintf(
/* translators: accessibility text. %1: current block position (number). %2: next block position (number) */
__( 'Move block down from row %1$s to row %2$s' ),
Expand Down

0 comments on commit 8611c43

Please sign in to comment.