Skip to content

Commit

Permalink
correct a typo: sapce -> space (#52578)
Browse files Browse the repository at this point in the history
  • Loading branch information
Presskopp authored Jul 13, 2023
1 parent 7d84f62 commit 0d52bad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/editor/src/components/post-schedule/label.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function getFullPostScheduleLabel( dateAttribute ) {

const timezoneAbbreviation = getTimezoneAbbreviation();
const formattedDate = dateI18n(
// translators: If using a space between 'g:i' and 'a', use a non-breaking sapce.
// translators: If using a space between 'g:i' and 'a', use a non-breaking space.
_x( 'F j, Y g:i\xa0a', 'post schedule full date format' ),
date
);
Expand Down Expand Up @@ -62,7 +62,7 @@ export function getPostScheduleLabel(
return sprintf(
// translators: %s: Time of day the post is scheduled for.
__( 'Today at %s' ),
// translators: If using a space between 'g:i' and 'a', use a non-breaking sapce.
// translators: If using a space between 'g:i' and 'a', use a non-breaking space.
dateI18n( _x( 'g:i\xa0a', 'post schedule time format' ), date )
);
}
Expand All @@ -74,14 +74,14 @@ export function getPostScheduleLabel(
return sprintf(
// translators: %s: Time of day the post is scheduled for.
__( 'Tomorrow at %s' ),
// translators: If using a space between 'g:i' and 'a', use a non-breaking sapce.
// translators: If using a space between 'g:i' and 'a', use a non-breaking space.
dateI18n( _x( 'g:i\xa0a', 'post schedule time format' ), date )
);
}

if ( date.getFullYear() === now.getFullYear() ) {
return dateI18n(
// translators: If using a space between 'g:i' and 'a', use a non-breaking sapce.
// translators: If using a space between 'g:i' and 'a', use a non-breaking space.
_x( 'F j g:i\xa0a', 'post schedule date format without year' ),
date
);
Expand Down

1 comment on commit 0d52bad

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 0d52bad.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5541434365
📝 Reported issues:

Please sign in to comment.