mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@31982 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -525,12 +525,18 @@ function wp_default_scripts( &$scripts ) {
|
||||
did_action( 'init' ) && $scripts->localize( 'updates', '_wpUpdatesSettings', array(
|
||||
'ajax_nonce' => wp_create_nonce( 'updates' ),
|
||||
'l10n' => array(
|
||||
'updating' => __( 'Updating...' ),
|
||||
'updated' => __( 'Updated!' ),
|
||||
'updateFailed' => __( 'Update failed.' ),
|
||||
'updatingMsg' => __( 'Updating... please wait.' ),
|
||||
'updatedMsg' => __( 'Update completed successfully.' ),
|
||||
'updateCancel' => __( 'Update canceled' ),
|
||||
'updating' => __( 'Updating...' ),
|
||||
'updated' => __( 'Updated!' ),
|
||||
'updateFailed' => __( 'Update Failed' ),
|
||||
/* translators: Plugin Name */
|
||||
'updatingLabel' => __( 'Updating %s...' ),
|
||||
/* translators: Plugin Name */
|
||||
'updatedLabel' => __( '%s updated!' ),
|
||||
/* translators: Plugin Name */
|
||||
'updateFailedLabel' => __( '%s update failed' ),
|
||||
'updatingMsg' => __( 'Updating... please wait.' ),
|
||||
'updatedMsg' => __( 'Update completed successfully.' ),
|
||||
'updateCancel' => __( 'Update canceled.' ),
|
||||
)
|
||||
) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user