Updates: Display the failure reason in addition to 'Update Failed', allows for debugging by site owners.

Fixes #32435, #32473


git-svn-id: https://develop.svn.wordpress.org/trunk@32779 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2015-06-15 03:47:54 +00:00
parent 5a33c20515
commit a5ed63c86f
2 changed files with 3 additions and 2 deletions

View File

@@ -526,7 +526,8 @@ function wp_default_scripts( &$scripts ) {
'l10n' => array(
'updating' => __( 'Updating...' ),
'updated' => __( 'Updated!' ),
'updateFailed' => __( 'Update Failed' ),
/* translators: Error string for a failed update */
'updateFailed' => __( 'Update Failed: %s' ),
/* translators: Plugin name and version */
'updatingLabel' => __( 'Updating %s...' ),
/* translators: Plugin name and version */