Make WordPress Core


Ignore:
Timestamp:
01/31/2017 09:58:49 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Update/Install: Give context to "Deleted! string to allow for differentiation between theme and plugin translations.

Props swissspidy.
See #39747. See #37290.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r40034 r40035  
    694694                /* translators: %s: Error string for a failed deletion */
    695695                'deleteFailed'               => __( 'Deletion failed: %s' ),
    696                 'deleted'                    => __( 'Deleted!' ),
     696                'pluginDeleted'              => _x( 'Deleted!', 'plugin' ),
     697                'themeDeleted'               => _x( 'Deleted!', 'theme' ),
    697698                'livePreview'                => __( 'Live Preview' ),
    698699                'activatePlugin'             => is_network_admin() ? __( 'Network Activate' ) : __( 'Activate' ),
Note: See TracChangeset for help on using the changeset viewer.