mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +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:
@@ -518,12 +518,12 @@ function wp_print_media_templates() {
|
||||
<# if ( ! data.uploading && data.can.remove ) { #> |
|
||||
<?php if ( MEDIA_TRASH ) : ?>
|
||||
<# if ( 'trash' === data.status ) { #>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from trash' ); ?></button>
|
||||
<# } else { #>
|
||||
<button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button>
|
||||
<button type="button" class="button-link trash-attachment"><?php _e( 'Move to trash' ); ?></button>
|
||||
<# } #>
|
||||
<?php else : ?>
|
||||
<button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button>
|
||||
<button type="button" class="button-link delete-attachment"><?php _e( 'Delete permanently' ); ?></button>
|
||||
<?php endif; ?>
|
||||
<# } #>
|
||||
</div>
|
||||
@@ -639,12 +639,12 @@ function wp_print_media_templates() {
|
||||
<# if ( ! data.uploading && data.can.remove ) { #>
|
||||
<?php if ( MEDIA_TRASH ) : ?>
|
||||
<# if ( 'trash' === data.status ) { #>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from Trash' ); ?></button>
|
||||
<button type="button" class="button-link untrash-attachment"><?php _e( 'Restore from trash' ); ?></button>
|
||||
<# } else { #>
|
||||
<button type="button" class="button-link trash-attachment"><?php _e( 'Move to Trash' ); ?></button>
|
||||
<button type="button" class="button-link trash-attachment"><?php _e( 'Move to trash' ); ?></button>
|
||||
<# } #>
|
||||
<?php else : ?>
|
||||
<button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button>
|
||||
<button type="button" class="button-link delete-attachment"><?php _e( 'Delete permanently' ); ?></button>
|
||||
<?php endif; ?>
|
||||
<# } #>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user