Make WordPress Core


Ignore:
Timestamp:
07/06/2020 09:50:23 PM (4 years 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/meta-boxes.php

    r48292 r48352  
    333333        if ( current_user_can( 'delete_post', $post_id ) ) {
    334334            if ( ! EMPTY_TRASH_DAYS ) {
    335                 $delete_text = __( 'Delete Permanently' );
     335                $delete_text = __( 'Delete permanently' );
    336336            } else {
    337                 $delete_text = __( 'Move to Trash' );
     337                $delete_text = __( 'Move to trash' );
    338338            }
    339339            ?>
     
    439439    if ( current_user_can( 'delete_post', $post->ID ) ) {
    440440        if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) {
    441             echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Move to Trash' ) . '</a>';
     441            echo "<a class='submitdelete deletion' href='" . get_delete_post_link( $post->ID ) . "'>" . __( 'Move to trash' ) . '</a>';
    442442        } else {
    443443            $delete_ays = ! MEDIA_TRASH ? " onclick='return showNotice.warn();'" : '';
    444             echo "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete Permanently' ) . '</a>';
     444            echo "<a class='submitdelete deletion'$delete_ays href='" . get_delete_post_link( $post->ID, null, true ) . "'>" . __( 'Delete permanently' ) . '</a>';
    445445        }
    446446    }
     
    11161116<div id="taxonomy-linkcategory" class="categorydiv">
    11171117    <ul id="category-tabs" class="category-tabs">
    1118         <li class="tabs"><a href="#categories-all"><?php _e( 'All Categories' ); ?></a></li>
     1118        <li class="tabs"><a href="#categories-all"><?php _e( 'All categories' ); ?></a></li>
    11191119        <li class="hide-if-no-js"><a href="#categories-pop"><?php _ex( 'Most Used', 'categories' ); ?></a></li>
    11201120    </ul>
Note: See TracChangeset for help on using the changeset viewer.