From 2d6c6b13042bbd782cf4971dc27477cc3dbc50e5 Mon Sep 17 00:00:00 2001 From: Derrick Koo Date: Fri, 18 Jun 2021 15:36:09 -0600 Subject: [PATCH] chore: rename "Child Listings" to "Related Content" --- src/editor/shadow-taxonomies/child-listings.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/editor/shadow-taxonomies/child-listings.js b/src/editor/shadow-taxonomies/child-listings.js index 19c5c2fa..b08ac90d 100644 --- a/src/editor/shadow-taxonomies/child-listings.js +++ b/src/editor/shadow-taxonomies/child-listings.js @@ -142,20 +142,20 @@ const ChildListingsComponent = ( { hideChildren, postId, updateMetaValue } ) => setInitialChildPosts( childPosts ); // Update saved state. setMessage( { status: 'success', - children: __( 'Child listings updated.', 'newspack-listings' ), + children: __( 'Related content updated.', 'newspack-listings' ), isDismissible: false, } ); } else { setMessage( { status: 'error', - children: __( 'Error updating child listings.', 'newspack-listings' ), + children: __( 'Error updating related content.', 'newspack-listings' ), isDismissible: false, } ); } } catch ( e ) { setMessage( { status: 'error', - children: e.message || __( 'Error updating child listings.', 'newspack-listings' ), + children: e.message || __( 'Error updating related content.', 'newspack-listings' ), isDismissible: false, } ); } @@ -178,12 +178,12 @@ const ChildListingsComponent = ( { hideChildren, postId, updateMetaValue } ) => (

{ __( 'Overrides ', 'newspack-listings' ) } @@ -198,13 +198,13 @@ const ChildListingsComponent = ( { hideChildren, postId, updateMetaValue } ) => { ! hideChildren && ( ) } { modalVisible && ( { setModalVisible( false ); setMessage( null );