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:
parent
2c617a48f5
commit
f976a73997
@ -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' )
|
||||
|
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user