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 Jul 6, 2023
1 parent 72b2b28 commit 1cbaccd
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 @@ -81,7 +81,7 @@ export default function PatternsList( { categoryId, type } ) {
</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 @@ -101,7 +101,7 @@ export default function PatternsList( { categoryId, type } ) {
</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 @@ -73,7 +73,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 1cbaccd

Please sign in to comment.