i18n: Merge similar translation strings to "Update failed".

Fixes #50714.
Props ramiy, ocean90.


git-svn-id: https://develop.svn.wordpress.org/trunk@48569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jake Spurlock 2020-07-22 22:08:25 +00:00
parent 2c617a48f5
commit f976a73997
2 changed files with 3 additions and 3 deletions

View File

@ -520,7 +520,7 @@
} ) );
$card.find( '.update-now' )
.text( __( 'Update Failed!' ) )
.text( __( 'Update failed' ) )
.removeClass( 'updating-message' );
if ( response.pluginName ) {
@ -1838,7 +1838,7 @@
.removeClass( 'updating-message' )
.removeAttr( 'aria-label' )
.prop( 'disabled', true )
.text( __( 'Update Failed!' ) );
.text( __( 'Update failed' ) );
$( '.updating-message:not(.button):not(.thickbox)' )
.removeClass( 'updating-message notice-warning' )

View File

@ -4210,7 +4210,7 @@ function wp_ajax_update_theme() {
}
// An unhandled error occurred.
$status['errorMessage'] = __( 'Update failed.' );
$status['errorMessage'] = __( 'Update failed' );
wp_send_json_error( $status );
}