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

Props swissspidy.
See #39747. See #37290.
Built from https://develop.svn.wordpress.org/trunk@40035


git-svn-id: http://core.svn.wordpress.org/trunk@39972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2017-01-31 09:59:40 +00:00
parent 9264813949
commit 222ee437fe
4 changed files with 7 additions and 6 deletions

View File

@@ -841,7 +841,7 @@
}
} );
wp.a11y.speak( wp.updates.l10n.deleted, 'polite' );
wp.a11y.speak( wp.updates.l10n.pluginDeleted, 'polite' );
$document.trigger( 'wp-plugin-delete-success', response );
};
@@ -1273,7 +1273,7 @@
} );
}
wp.a11y.speak( wp.updates.l10n.deleted, 'polite' );
wp.a11y.speak( wp.updates.l10n.themeDeleted, 'polite' );
$document.trigger( 'wp-theme-delete-success', response );
};

File diff suppressed because one or more lines are too long