Make WordPress Core


Ignore:
Timestamp:
07/06/2020 09:50:23 PM (6 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/comment.php

    r48154 r48352  
    126126                        case 'spam':
    127127                                $caution_msg = __( 'You are about to mark the following comment as spam:' );
    128                                 $button      = _x( 'Mark as Spam', 'comment' );
     128                                $button      = _x( 'Mark as spam', 'comment' );
    129129                                break;
    130130                        case 'trash':
    131131                                $caution_msg = __( 'You are about to move the following comment to the Trash:' );
    132                                 $button      = __( 'Move to Trash' );
     132                                $button      = __( 'Move to trash' );
    133133                                break;
    134134                        case 'delete':
    135135                                $caution_msg = __( 'You are about to delete the following comment:' );
    136                                 $button      = __( 'Permanently Delete Comment' );
     136                                $button      = __( 'Permanently delete comment' );
    137137                                break;
    138138                        default:
    139139                                $caution_msg = __( 'You are about to approve the following comment:' );
    140                                 $button      = __( 'Approve Comment' );
     140                                $button      = __( 'Approve comment' );
    141141                                break;
    142142                }
     
    180180<?php } ?>
    181181<tr>
    182         <th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In Response To' ); ?></th>
     182        <th scope="row"><?php /* translators: Column name or table row header. */ _e( 'In response to' ); ?></th>
    183183        <td>
    184184                <?php
Note: See TracChangeset for help on using the changeset viewer.