Make WordPress Core

Ticket #29739: 29739.patch

File 29739.patch, 1.9 KB (added by pavelevap, 10 years ago)
  • src/wp-includes/media-template.php

     
    415415                                                <# if ( 'trash' === data.status ) { #>
    416416                                                        <a class="untrash-attachment" href="#"><?php _e( 'Untrash' ); ?></a>
    417417                                                <# } else { #>
    418                                                         <a class="trash-attachment" href="#"><?php _e( 'Trash' ); ?></a>
     418                                                        <a class="trash-attachment" href="#"><?php _ex( 'Trash', 'verb' ); ?></a>
    419419                                                <# } #>
    420420                                                <?php else: ?>
    421421                                                        <a class="delete-attachment" href="#"><?php _e( 'Delete Permanently' ); ?></a>
     
    518518                                        <# if ( 'trash' === data.status ) { #>
    519519                                                <a class="untrash-attachment" href="#"><?php _e( 'Untrash' ); ?></a>
    520520                                        <# } else { #>
    521                                                 <a class="trash-attachment" href="#"><?php _e( 'Trash' ); ?></a>
     521                                                <a class="trash-attachment" href="#"><?php _ex( 'Trash', 'verb' ); ?></a>
    522522                                        <# } #>
    523523                                        <?php else: ?>
    524524                                                <a class="delete-attachment" href="#"><?php _e( 'Delete Permanently' ); ?></a>
  • src/wp-includes/media.php

     
    29322932                'noItemsFound'           => __( 'No items found.' ),
    29332933                'insertIntoPost'         => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ),
    29342934                'unattached'             => __( 'Unattached' ),
    2935                 'trash'                  => __( 'Trash' ),
     2935                'trash'                  => _x( 'Trash', 'noun' ),
    29362936                'uploadedToThisPost'     => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ),
    29372937                'warnDelete'             => __( "You are about to permanently delete this item.\n  'Cancel' to stop, 'OK' to delete." ),
    29382938                'warnBulkDelete'         => __( "You are about to permanently delete these items.\n  'Cancel' to stop, 'OK' to delete." ),