mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +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:
@@ -415,9 +415,9 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
if ( current_user_can( $post_type_obj->cap->delete_posts ) ) {
|
||||
if ( $this->is_trash || ! EMPTY_TRASH_DAYS ) {
|
||||
$actions['delete'] = __( 'Delete Permanently' );
|
||||
$actions['delete'] = __( 'Delete permanently' );
|
||||
} else {
|
||||
$actions['trash'] = __( 'Move to Trash' );
|
||||
$actions['trash'] = __( 'Move to trash' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user