Make WordPress Core

Changeset 48569


Ignore:
Timestamp:
07/22/2020 10:08:25 PM (4 years ago)
Author:
whyisjake
Message:

i18n: Merge similar translation strings to "Update failed".

Fixes #50714.
Props ramiy, ocean90.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/wp/updates.js

    r48568 r48569  
    521521
    522522            $card.find( '.update-now' )
    523                 .text(  __( 'Update Failed!' ) )
     523                .text(  __( 'Update failed' ) )
    524524                .removeClass( 'updating-message' );
    525525
     
    18391839            .removeAttr( 'aria-label' )
    18401840            .prop( 'disabled', true )
    1841             .text( __( 'Update Failed!' ) );
     1841            .text( __( 'Update failed' ) );
    18421842
    18431843        $( '.updating-message:not(.button):not(.thickbox)' )
  • trunk/src/wp-admin/includes/ajax-actions.php

    r48560 r48569  
    42114211
    42124212    // An unhandled error occurred.
    4213     $status['errorMessage'] = __( 'Update failed.' );
     4213    $status['errorMessage'] = __( 'Update failed' );
    42144214    wp_send_json_error( $status );
    42154215}
Note: See TracChangeset for help on using the changeset viewer.