From 2c617a48f5ba9435a5a166337647de45fee23144 Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Wed, 22 Jul 2020 21:57:19 +0000 Subject: [PATCH] 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 --- src/js/_enqueues/wp/updates.js | 4 ++-- src/wp-admin/includes/class-wp-automatic-updater.php | 2 +- src/wp-admin/update-core.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/_enqueues/wp/updates.js b/src/js/_enqueues/wp/updates.js index a92cedbb35..94cc13024f 100644 --- a/src/js/_enqueues/wp/updates.js +++ b/src/js/_enqueues/wp/updates.js @@ -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' ); diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php index f19697007f..f8c6fd4225 100644 --- a/src/wp-admin/includes/class-wp-automatic-updater.php +++ b/src/wp-admin/includes/class-wp-automatic-updater.php @@ -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' ) ); } diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index c4a7fb0e54..a50d4623c7 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -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 ''; return;