I18N: Use correct translation function in `wp-admin/includes/media.php`.

This changeset replaces `echo __()` with the appropriate `_e()` function. It also ensures the punctuation is included in the translation string.

Props mujuonly, audrasjb, vladytimy, krupalpanchal, mukesh27.
Fixes #58138.

Built from https://develop.svn.wordpress.org/trunk@55684


git-svn-id: http://core.svn.wordpress.org/trunk@55196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-04-24 21:28:18 +00:00
parent 4f73468485
commit 5afe551668
2 changed files with 2 additions and 2 deletions

View File

@ -2737,7 +2737,7 @@ function media_upload_library_form( $errors ) {
<label class="screen-reader-text" for="media-search-input"> <label class="screen-reader-text" for="media-search-input">
<?php <?php
/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
echo __( 'Search Media' ) . ':'; _e( 'Search Media:' );
?> ?>
</label> </label>
<input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> <input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.3-alpha-55683'; $wp_version = '6.3-alpha-55684';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.