WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/06/2020 09:50:23 PM (19 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-includes/media-template.php

    r48232 r48352  
    519519                    <?php if ( MEDIA_TRASH ) : ?>
    520520                        <# if ( 'trash' === data.status ) { #>
    521                             <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
     521                            <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from trash' ); ?></button>
    522522                        <# } else { #>
    523                             <button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button>
     523                            <button type="button" class="button-link trash-attachment"><?php _e( 'Move to trash' ); ?></button>
    524524                        <# } #>
    525525                    <?php else : ?>
    526                         <button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button>
     526                        <button type="button" class="button-link delete-attachment"><?php _e( 'Delete permanently' ); ?></button>
    527527                    <?php endif; ?>
    528528                <# } #>
     
    640640                    <?php if ( MEDIA_TRASH ) : ?>
    641641                    <# if ( 'trash' === data.status ) { #>
    642                         <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
     642                        <button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from trash' ); ?></button>
    643643                    <# } else { #>
    644                         <button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button>
     644                        <button type="button" class="button-link trash-attachment"><?php _e( 'Move to trash' ); ?></button>
    645645                    <# } #>
    646646                    <?php else : ?>
    647                         <button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button>
     647                        <button type="button" class="button-link delete-attachment"><?php _e( 'Delete permanently' ); ?></button>
    648648                    <?php endif; ?>
    649649                <# } #>
Note: See TracChangeset for help on using the changeset viewer.