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

Props swissspidy.
See #39747. See #37290.

git-svn-id: https://develop.svn.wordpress.org/trunk@40035 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2017-01-31 09:58:49 +00:00
parent b732afec11
commit 43aed27058
3 changed files with 6 additions and 4 deletions

View File

@@ -693,7 +693,8 @@ function wp_default_scripts( &$scripts ) {
'deleting' => __( 'Deleting...' ),
/* translators: %s: Error string for a failed deletion */
'deleteFailed' => __( 'Deletion failed: %s' ),
'deleted' => __( 'Deleted!' ),
'pluginDeleted' => _x( 'Deleted!', 'plugin' ),
'themeDeleted' => _x( 'Deleted!', 'theme' ),
'livePreview' => __( 'Live Preview' ),
'activatePlugin' => is_network_admin() ? __( 'Network Activate' ) : __( 'Activate' ),
'activateTheme' => is_network_admin() ? __( 'Network Enable' ) : __( 'Activate' ),