From cb20d25d4df35e637d5c4b7050a250a007f010cc Mon Sep 17 00:00:00 2001 From: Gerardo Pacheco Date: Thu, 9 Jul 2020 09:54:01 +0200 Subject: [PATCH 1/2] Mobile - Remove block notice message --- .../block-mobile-toolbar/block-actions-menu.native.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js b/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js index 60d7718ac0fc6b..909214953ed446 100644 --- a/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js +++ b/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js @@ -124,6 +124,10 @@ const BlockActionsMenu = ( { switch ( value ) { case deleteOption.value: onDelete(); + createInfoNotice( + // translators: displayed right after the block is deleted. + __( 'Block deleted' ) + ); break; case settingsOption.value: openGeneralSidebar(); From 928a5805d2547fcb574789640069aee7d0e398f9 Mon Sep 17 00:00:00 2001 From: Gerardo Pacheco Date: Thu, 9 Jul 2020 10:04:01 +0200 Subject: [PATCH 2/2] Mobile - Remove block - update text --- .../block-mobile-toolbar/block-actions-menu.native.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js b/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js index 909214953ed446..12718bc1baf254 100644 --- a/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js +++ b/packages/block-editor/src/components/block-mobile-toolbar/block-actions-menu.native.js @@ -125,8 +125,8 @@ const BlockActionsMenu = ( { case deleteOption.value: onDelete(); createInfoNotice( - // translators: displayed right after the block is deleted. - __( 'Block deleted' ) + // translators: displayed right after the block is removed. + __( 'Block removed' ) ); break; case settingsOption.value: