From a655f57f2c400133df5a6a0be9b782769a5b18d1 Mon Sep 17 00:00:00 2001 From: Matias Ventura Date: Fri, 8 Dec 2017 15:31:15 -0300 Subject: [PATCH] Update messages around reusable block interactions. (#3881) --- blocks/api/categories.js | 2 +- editor/effects.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/api/categories.js b/blocks/api/categories.js index 1a233f7d68acb..bf7894bbd62c3 100644 --- a/blocks/api/categories.js +++ b/blocks/api/categories.js @@ -17,7 +17,7 @@ const categories = [ { slug: 'layout', title: __( 'Layout Blocks' ) }, { slug: 'widgets', title: __( 'Widgets' ) }, { slug: 'embed', title: __( 'Embed' ) }, - { slug: 'reusable-blocks', title: __( 'My Reusable Blocks' ) }, + { slug: 'reusable-blocks', title: __( 'Saved Blocks' ) }, ]; /** diff --git a/editor/effects.js b/editor/effects.js index 9cc3def391708..9cb822c94fede 100644 --- a/editor/effects.js +++ b/editor/effects.js @@ -357,14 +357,14 @@ export default { id, } ); dispatch( createSuccessNotice( - __( 'Reusable block updated' ), + __( 'Block updated.' ), { id: SAVE_REUSABLE_BLOCK_NOTICE_ID } ) ); }, ( error ) => { dispatch( { type: 'SAVE_REUSABLE_BLOCK_FAILURE', id } ); dispatch( createErrorNotice( - get( error.responseJSON, 'message', __( 'An unknown error occured' ) ), + get( error.responseJSON, 'message', __( 'An unknown error occured.' ) ), { id: SAVE_REUSABLE_BLOCK_NOTICE_ID } ) ); }