Make WordPress Core

Changeset 29764


Ignore:
Timestamp:
09/24/2014 01:48:27 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Add context for 'Trash' string in media modal.

props pavelevap.
fixes #29739.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media-template.php

    r29724 r29764  
    418418                                                        <a class="untrash-attachment" href="#"><?php _e( 'Untrash' ); ?></a>
    419419                                                <# } else { #>
    420                                                         <a class="trash-attachment" href="#"><?php _e( 'Trash' ); ?></a>
     420                                                        <a class="trash-attachment" href="#"><?php _ex( 'Trash', 'verb' ); ?></a>
    421421                                                <# } #>
    422422                                        <?php else: ?>
     
    521521                                                <a class="untrash-attachment" href="#"><?php _e( 'Untrash' ); ?></a>
    522522                                        <# } else { #>
    523                                                 <a class="trash-attachment" href="#"><?php _e( 'Trash' ); ?></a>
     523                                                <a class="trash-attachment" href="#"><?php _ex( 'Trash', 'verb' ); ?></a>
    524524                                        <# } #>
    525525                                        <?php else: ?>
  • trunk/src/wp-includes/media.php

    r29760 r29764  
    29382938                'insertIntoPost'         => $hier ? __( 'Insert into page' ) : __( 'Insert into post' ),
    29392939                'unattached'             => __( 'Unattached' ),
    2940                 'trash'                  => __( 'Trash' ),
     2940                'trash'                  => _x( 'Trash', 'noun' ),
    29412941                'uploadedToThisPost'     => $hier ? __( 'Uploaded to this page' ) : __( 'Uploaded to this post' ),
    29422942                'warnDelete'             => __( "You are about to permanently delete this item.\n  'Cancel' to stop, 'OK' to delete." ),
Note: See TracChangeset for help on using the changeset viewer.