Skip to content

Commit

Permalink
Patterns: Update pattern copy (#52340)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored and tellthemachines committed Jul 7, 2023
1 parent 1fe426f commit c522b12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function PatternsList( { categoryId, type } ) {
<Heading level={ 4 }>{ __( 'Synced' ) }</Heading>
<Text variant="muted" as="p">
{ __(
'Patterns that are kept in sync across your site'
'Patterns that are kept in sync across the site'
) }
</Text>
</VStack>
Expand All @@ -97,7 +97,7 @@ export default function PatternsList( { categoryId, type } ) {
<Heading level={ 4 }>{ __( 'Standard' ) }</Heading>
<Text variant="muted" as="p">
{ __(
'Patterns that can be changed freely without affecting your site'
'Patterns that can be changed freely without affecting the site'
) }
</Text>
</VStack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ export default function usePatternDetails( postType, postId ) {
if ( ! descriptionText && addedBy.text ) {
descriptionText = sprintf(
// translators: %s: pattern title e.g: "Header".
__( 'This is your %s pattern.' ),
__( 'This is the %s pattern.' ),
getTitle()
);
}

if ( ! descriptionText && postType === 'wp_block' && record?.title ) {
descriptionText = sprintf(
// translators: %s: user created pattern title e.g. "Footer".
__( 'This is your %s pattern.' ),
__( 'This is the %s pattern.' ),
record.title
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function SidebarNavigationScreenPatterns() {
isRoot={ isTemplatePartsMode }
title={ __( 'Patterns' ) }
description={ __(
'Manage what patterns are available when editing your site.'
'Manage what patterns are available when editing the site.'
) }
actions={ <AddNewPattern /> }
footer={ footer }
Expand Down

0 comments on commit c522b12

Please sign in to comment.