Make WordPress Core


Ignore:
Timestamp:
04/02/2015 05:30:13 AM (10 years ago)
Author:
jorbin
Message:

Update aria-label when doing a shiny plugin update

Also updates it again when the shiny plugin update is finished.
Also updates it if the shiny update fails

props mehulkaklotar, afercia
Fixes #31722

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r31973 r31982  
    526526            'ajax_nonce' => wp_create_nonce( 'updates' ),
    527527            'l10n'       => array(
    528                 'updating'      => __( 'Updating...' ),
    529                 'updated'       => __( 'Updated!' ),
    530                 'updateFailed'  => __( 'Update failed.' ),
    531                 'updatingMsg'   => __( 'Updating... please wait.' ),
    532                 'updatedMsg'    => __( 'Update completed successfully.' ),
    533                 'updateCancel'  => __( 'Update canceled' ),
     528                'updating'          => __( 'Updating...' ),
     529                'updated'           => __( 'Updated!' ),
     530                'updateFailed'      => __( 'Update Failed' ),
     531                /* translators: Plugin Name */
     532                'updatingLabel'     => __( 'Updating %s...' ),
     533                /* translators: Plugin Name */
     534                'updatedLabel'      => __( '%s updated!' ),
     535                /* translators: Plugin Name */
     536                'updateFailedLabel' => __( '%s update failed' ),
     537                'updatingMsg'       => __( 'Updating... please wait.' ),
     538                'updatedMsg'        => __( 'Update completed successfully.' ),
     539                'updateCancel'      => __( 'Update canceled.' ),
    534540            )
    535541        ) );
Note: See TracChangeset for help on using the changeset viewer.