Skip to content
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
6 changes: 3 additions & 3 deletions packages/editor/src/components/post-featured-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const ALLOWED_MEDIA_TYPES = [ 'image' ];

// Used when labels from post type were not yet loaded or when they are not present.
const DEFAULT_FEATURE_IMAGE_LABEL = __( 'Featured Image' );
const DEFAULT_SET_FEATURE_IMAGE_LABEL = __( 'Set featured image' );
const DEFAULT_REMOVE_FEATURE_IMAGE_LABEL = __( 'Remove image' );
const DEFAULT_SET_FEATURE_IMAGE_LABEL = __( 'Set Featured Image' );
const DEFAULT_REMOVE_FEATURE_IMAGE_LABEL = __( 'Remove Image' );

function PostFeaturedImage( { currentPostId, featuredImageId, onUpdateImage, onRemoveImage, media, postType } ) {
const postLabel = get( postType, [ 'labels' ], {} );
Expand Down Expand Up @@ -81,7 +81,7 @@ function PostFeaturedImage( { currentPostId, featuredImageId, onUpdateImage, onR
modalClass="editor-post-featured-image__media-modal"
render={ ( { open } ) => (
<Button onClick={ open } isDefault isLarge>
{ __( 'Replace image' ) }
{ __( 'Replace Image' ) }
</Button>
) }
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-trash/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function PostTrash( { isNew, postId, postType, ...props } ) {

return (
<Button className="editor-post-trash button-link-delete" onClick={ onClick } isDefault isLarge>
{ __( 'Move to trash' ) }
{ __( 'Move to Trash' ) }
</Button>
);
}
Expand Down