mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-05 17:50:03 +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:
@@ -351,19 +351,19 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
$actions['approve'] = __( 'Approve' );
|
||||
}
|
||||
if ( in_array( $comment_status, array( 'all', 'moderated', 'approved', 'trash' ), true ) ) {
|
||||
$actions['spam'] = _x( 'Mark as Spam', 'comment' );
|
||||
$actions['spam'] = _x( 'Mark as spam', 'comment' );
|
||||
}
|
||||
|
||||
if ( 'trash' === $comment_status ) {
|
||||
$actions['untrash'] = __( 'Restore' );
|
||||
} elseif ( 'spam' === $comment_status ) {
|
||||
$actions['unspam'] = _x( 'Not Spam', 'comment' );
|
||||
$actions['unspam'] = _x( 'Not spam', 'comment' );
|
||||
}
|
||||
|
||||
if ( in_array( $comment_status, array( 'trash', 'spam' ), true ) || ! EMPTY_TRASH_DAYS ) {
|
||||
$actions['delete'] = __( 'Delete Permanently' );
|
||||
$actions['delete'] = __( 'Delete permanently' );
|
||||
} else {
|
||||
$actions['trash'] = __( 'Move to Trash' );
|
||||
$actions['trash'] = __( 'Move to trash' );
|
||||
}
|
||||
|
||||
return $actions;
|
||||
@@ -467,10 +467,10 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
|
||||
if ( ! $post_id ) {
|
||||
/* translators: Column name or table row header. */
|
||||
$columns['response'] = __( 'In Response To' );
|
||||
$columns['response'] = __( 'In response to' );
|
||||
}
|
||||
|
||||
$columns['date'] = _x( 'Submitted On', 'column name' );
|
||||
$columns['date'] = _x( 'Submitted on', 'column name' );
|
||||
|
||||
return $columns;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user