Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pattern library copy #52340

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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