mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 21:24:35 +00:00
Administration: Move more table strings to sentence casing.
WordPress as a project has moved largely to sentence casing for UI elements in the admin. This commit moves several string$ * Move to trash * Mark as spam * Permanently delete comment * Approve comment * In response to * Bulk actions * Not spam * Sumitted on * Delete permanently * Add media * Upload files * Upload images * Add media * Bulk select * Restore from trash * Search media * Attachment details * Create gallery * Edit gallery * Cancel gallery * Add to gallery * Image details * Replace image * Cancel edit * Edit image * Choose image * Select and crop * Skip cropping * Crop image * Audio details * Replace audio * Add audio source * Video details * Replace video * Add video source * Select poster image * Add subtitles * Create audio playlist * Edit audio playlist. * Cancel audio playlist * Create video playlist * Edit video playlist * Add to video playlist * Filter media Fixes #40244. Props afercia, bhargavbhandari90, rcutmore, webzunft, manojlovic, jeremyfelt, desrosj, lschuyler, SergeyBiryukov, whyisjake. git-svn-id: https://develop.svn.wordpress.org/trunk@48352 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -125,19 +125,19 @@ switch ( $action ) {
|
||||
switch ( $action ) {
|
||||
case 'spam':
|
||||
$caution_msg = __( 'You are about to mark the following comment as spam:' );
|
||||
$button = _x( 'Mark as Spam', 'comment' );
|
||||
$button = _x( 'Mark as spam', 'comment' );
|
||||
break;
|
||||
case 'trash':
|
||||
$caution_msg = __( 'You are about to move the following comment to the Trash:' );
|
||||
$button = __( 'Move to Trash' );
|
||||
$button = __( 'Move to trash' );
|
||||
break;
|
||||
case 'delete':
|
||||
$caution_msg = __( 'You are about to delete the following comment:' );
|
||||
$button = __( 'Permanently Delete Comment' );
|
||||
$button = __( 'Permanently delete comment' );
|
||||
break;
|
||||
default:
|
||||
$caution_msg = __( 'You are about to approve the following comment:' );
|
||||
$button = __( 'Approve Comment' );
|
||||
$button = __( 'Approve comment' );
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ switch ( $action ) {
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In Response To' ); ?></th>
|
||||
<th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In response to' ); ?></th>
|
||||
<td>
|
||||
<?php
|
||||
$post_id = $comment->comment_post_ID;
|
||||
|
||||
Reference in New Issue
Block a user