Administration: Capitalize Trash consistently in various messages and comments.

When used as a noun referring to the "virtual" place, `Trash` should be capitalized.

Props garrett-eclipse, aandrewdixon, Presskopp.
Fixes #45317.

git-svn-id: https://develop.svn.wordpress.org/trunk@47233 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-02-10 04:10:09 +00:00
parent 5302cd6514
commit 023d4b2796
24 changed files with 70 additions and 70 deletions

View File

@@ -525,7 +525,7 @@ function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $
}
/**
* Output 'undo move to trash' text for comments
* Output 'undo move to Trash' text for comments
*
* @since 2.9.0
*/
@@ -535,7 +535,7 @@ function wp_comment_trashnotice() {
<div class="trash-undo-inside">
<?php
/* translators: %s: Comment author, filled by AJAX. */
printf( __( 'Comment by %s moved to the trash.' ), '<strong></strong>' );
printf( __( 'Comment by %s moved to the Trash.' ), '<strong></strong>' );
?>
<span class="undo untrash"><a href="#"><?php _e( 'Undo' ); ?></a></span>
</div>