I18N: Merge similar "Installation failed" strings

Fixes #50708.

Props ramiy, ocean90, audrasjb.


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

View File

@ -727,7 +727,7 @@
$button.data( 'name' )
)
)
.text( __( 'Installation Failed!' ) );
.text( __( 'Installation failed' ) );
wp.a11y.speak( errorMessage, 'assertive' );
@ -1364,7 +1364,7 @@
$button.data( 'name' )
)
)
.text( __( 'Installation Failed!' ) );
.text( __( 'Installation failed' ) );
wp.a11y.speak( errorMessage, 'assertive' );

View File

@ -386,7 +386,7 @@ class WP_Automatic_Updater {
// Core doesn't output this, so let's append it so we don't get confused.
if ( is_wp_error( $upgrade_result ) ) {
$skin->error( __( 'Installation Failed' ), $upgrade_result );
$skin->error( __( 'Installation failed' ), $upgrade_result );
} else {
$skin->feedback( __( 'WordPress updated successfully' ) );
}

View File

@ -646,7 +646,7 @@ function do_core_upgrade( $reinstall = false ) {
if ( is_wp_error( $result ) ) {
show_message( $result );
if ( 'up_to_date' != $result->get_error_code() && 'locked' != $result->get_error_code() ) {
show_message( __( 'Installation Failed' ) );
show_message( __( 'Installation failed' ) );
}
echo '</div>';
return;