Skip to content

Commit

Permalink
Don't lowercase post type label (#49591)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrann0us authored Apr 21, 2023
1 parent 2b282fa commit 03108c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/post-featured-image/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ export default function PostFeaturedImageEdit( {
label={
postType?.labels.singular_name
? sprintf(
// translators: %s: Name of the post type e.g: "post".
// translators: %s: Name of the post type e.g: "Page".
__( 'Link to %s' ),
postType.labels.singular_name.toLowerCase()
postType.labels.singular_name
)
: __( 'Link to post' )
}
Expand Down

0 comments on commit 03108c0

Please sign in to comment.