WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/06/2020 09:50:23 PM (16 months ago)
Author:
whyisjake
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r47808 r48352  
    352352        }
    353353        if ( in_array( $comment_status, array( 'all', 'moderated', 'approved', 'trash' ), true ) ) {
    354             $actions['spam'] = _x( 'Mark as Spam', 'comment' );
     354            $actions['spam'] = _x( 'Mark as spam', 'comment' );
    355355        }
    356356
     
    358358            $actions['untrash'] = __( 'Restore' );
    359359        } elseif ( 'spam' === $comment_status ) {
    360             $actions['unspam'] = _x( 'Not Spam', 'comment' );
     360            $actions['unspam'] = _x( 'Not spam', 'comment' );
    361361        }
    362362
    363363        if ( in_array( $comment_status, array( 'trash', 'spam' ), true ) || ! EMPTY_TRASH_DAYS ) {
    364             $actions['delete'] = __( 'Delete Permanently' );
     364            $actions['delete'] = __( 'Delete permanently' );
    365365        } else {
    366             $actions['trash'] = __( 'Move to Trash' );
     366            $actions['trash'] = __( 'Move to trash' );
    367367        }
    368368
     
    468468        if ( ! $post_id ) {
    469469            /* translators: Column name or table row header. */
    470             $columns['response'] = __( 'In Response To' );
    471         }
    472 
    473         $columns['date'] = _x( 'Submitted On', 'column name' );
     470            $columns['response'] = __( 'In response to' );
     471        }
     472
     473        $columns['date'] = _x( 'Submitted on', 'column name' );
    474474
    475475        return $columns;
Note: See TracChangeset for help on using the changeset viewer.