Skip to content

Commit

Permalink
Media placeholders: Add "drag" to the text. (#65149)
Browse files Browse the repository at this point in the history
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
  • Loading branch information
3 people authored Sep 9, 2024
1 parent 6dae3c7 commit 1d33b4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,15 @@ export function MediaPlaceholder( {

if ( isAudio ) {
instructions = __(
'Upload an audio file, pick one from your media library, or add one with a URL.'
'Upload or drag an audio file here, or pick one from your library.'
);
} else if ( isImage ) {
instructions = __(
'Upload an image file, pick one from your media library, or add one with a URL.'
'Upload or drag an image file here, or pick one from your library.'
);
} else if ( isVideo ) {
instructions = __(
'Upload a video file, pick one from your media library, or add one with a URL.'
'Upload or drag a video file here, or pick one from your library.'
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/image/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ export function ImageEdit( {
instructions={
! lockUrlControls &&
__(
'Upload an image file, pick one from your media library, or add one with a URL.'
'Upload or drag an image file here, or pick one from your library.'
)
}
style={ {
Expand Down

0 comments on commit 1d33b4e

Please sign in to comment.