mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
I18N: Further adjust some update/install strings for consistency.
Follow-up to [48568], [48569]. See #50708, #50714. git-svn-id: https://develop.svn.wordpress.org/trunk@48589 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4210,7 +4210,7 @@ function wp_ajax_update_theme() {
|
||||
}
|
||||
|
||||
// An unhandled error occurred.
|
||||
$status['errorMessage'] = __( 'Update failed' );
|
||||
$status['errorMessage'] = __( 'Theme update failed.' );
|
||||
wp_send_json_error( $status );
|
||||
}
|
||||
|
||||
|
||||
@@ -386,9 +386,9 @@ 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' ) );
|
||||
$skin->feedback( __( 'WordPress updated successfully.' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1429,7 +1429,7 @@ function _redirect_to_about_wordpress( $new_version ) {
|
||||
load_default_textdomain();
|
||||
|
||||
// See do_core_upgrade().
|
||||
show_message( __( 'WordPress updated successfully' ) );
|
||||
show_message( __( 'WordPress updated successfully.' ) );
|
||||
|
||||
// self_admin_url() won't exist when upgrading from <= 3.0, so relative URLs are intentional.
|
||||
show_message(
|
||||
|
||||
Reference in New Issue
Block a user