Skip to content

Commit

Permalink
Added language for block style to the tooltip on block transformations (
Browse files Browse the repository at this point in the history
  • Loading branch information
mapk authored and youknowriad committed Mar 20, 2019
1 parent 10b0235 commit 31e9fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class BlockSwitcher extends Component {
};
const label = (
1 === blocks.length ?
__( 'Change block type' ) :
__( 'Change block type or style' ) :
sprintf(
_n(
'Change type of %d block',
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/specs/style-variation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe( 'adding blocks', () => {
await insertBlock( 'Quote' );
await page.keyboard.type( 'Quote content' );

await clickBlockToolbarButton( 'Change block type' );
await clickBlockToolbarButton( 'Change block type or style' );

const styleVariations = await page.$$( '.block-editor-block-styles__item' );
await styleVariations[ 1 ].click();
Expand Down

0 comments on commit 31e9fa1

Please sign in to comment.