i18n: Merge similar translation strings to "Update failed".
Fixes #50714. Props ramiy, ocean90. Built from https://develop.svn.wordpress.org/trunk@48569 git-svn-id: http://core.svn.wordpress.org/trunk@48331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
921ddab889
commit
dd642e7b00
|
@ -4210,7 +4210,7 @@ function wp_ajax_update_theme() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// An unhandled error occurred.
|
// An unhandled error occurred.
|
||||||
$status['errorMessage'] = __( 'Update failed.' );
|
$status['errorMessage'] = __( 'Update failed' );
|
||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -520,7 +520,7 @@
|
||||||
} ) );
|
} ) );
|
||||||
|
|
||||||
$card.find( '.update-now' )
|
$card.find( '.update-now' )
|
||||||
.text( __( 'Update Failed!' ) )
|
.text( __( 'Update failed' ) )
|
||||||
.removeClass( 'updating-message' );
|
.removeClass( 'updating-message' );
|
||||||
|
|
||||||
if ( response.pluginName ) {
|
if ( response.pluginName ) {
|
||||||
|
@ -1838,7 +1838,7 @@
|
||||||
.removeClass( 'updating-message' )
|
.removeClass( 'updating-message' )
|
||||||
.removeAttr( 'aria-label' )
|
.removeAttr( 'aria-label' )
|
||||||
.prop( 'disabled', true )
|
.prop( 'disabled', true )
|
||||||
.text( __( 'Update Failed!' ) );
|
.text( __( 'Update failed' ) );
|
||||||
|
|
||||||
$( '.updating-message:not(.button):not(.thickbox)' )
|
$( '.updating-message:not(.button):not(.thickbox)' )
|
||||||
.removeClass( 'updating-message notice-warning' )
|
.removeClass( 'updating-message notice-warning' )
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-beta3-48568';
|
$wp_version = '5.5-beta3-48569';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue