diff --git a/packages/block-editor/src/components/block-mobile-toolbar/test/block-actions-menu.native.js b/packages/block-editor/src/components/block-mobile-toolbar/test/block-actions-menu.native.js index 4731470b7bf3f..bb042052fe998 100644 --- a/packages/block-editor/src/components/block-mobile-toolbar/test/block-actions-menu.native.js +++ b/packages/block-editor/src/components/block-mobile-toolbar/test/block-actions-menu.native.js @@ -426,7 +426,7 @@ describe( 'Block Actions Menu', () => { // Get Picker title const pickerHeader = getByRole( 'header' ); const headerTitle = within( pickerHeader ).getByText( - /Transform Paragraph to/ + /Transform "Paragraph" to/ ); expect( headerTitle ).toBeVisible(); diff --git a/packages/block-editor/src/components/block-switcher/block-transformations-menu.native.js b/packages/block-editor/src/components/block-switcher/block-transformations-menu.native.js index fc91bdd6d37dc..8ee41b1bcaf2f 100644 --- a/packages/block-editor/src/components/block-switcher/block-transformations-menu.native.js +++ b/packages/block-editor/src/components/block-switcher/block-transformations-menu.native.js @@ -66,7 +66,7 @@ const BlockTransformationsMenu = ( { ); const successNotice = sprintf( /* translators: 1: From block title, e.g. Paragraph. 2: To block title, e.g. Header. */ - __( '%1$s transformed to %2$s' ), + __( '"%1$s" transformed to "%2$s"' ), blockTitle, selectedItem.label ); @@ -82,7 +82,7 @@ const BlockTransformationsMenu = ( { leftAlign={ true } getAnchor={ getAnchor } // translators: %s: block title e.g: "Paragraph". - title={ sprintf( __( 'Transform %s to' ), blockTitle ) } + title={ sprintf( __( 'Transform "%s" to' ), blockTitle ) } /> ); };