Importers: Use correct l10n variable in `wp.updates.installImporterError` and filesystem credentials dialog.
Missed in [40034]. Props afercia, abhayvishwakarma. Fixes #45765. Built from https://develop.svn.wordpress.org/trunk@44417 git-svn-id: http://core.svn.wordpress.org/trunk@44247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
efc9cbd553
commit
9ac8b5b4f5
|
@ -155,7 +155,7 @@ if ( empty( $importers ) ) {
|
|||
esc_attr( $plugin_slug ),
|
||||
esc_attr( $data[0] ),
|
||||
/* translators: %s: Importer name */
|
||||
esc_attr( sprintf( __( 'Install %s' ), $data[0] ) ),
|
||||
esc_attr( sprintf( __( 'Install %s now' ), $data[0] ) ),
|
||||
__( 'Install Now' )
|
||||
);
|
||||
} else {
|
||||
|
|
|
@ -718,7 +718,7 @@
|
|||
$installLink
|
||||
.removeClass( 'updating-message' )
|
||||
.text( wp.updates.l10n.installNow )
|
||||
.attr( 'aria-label', wp.updates.l10n.installNowLabel.replace( '%s', pluginName ) );
|
||||
.attr( 'aria-label', wp.updates.l10n.pluginInstallNowLabel.replace( '%s', pluginName ) );
|
||||
|
||||
wp.a11y.speak( errorMessage, 'assertive' );
|
||||
|
||||
|
@ -1931,7 +1931,7 @@
|
|||
$button
|
||||
.removeClass( 'updating-message' )
|
||||
.text( wp.updates.l10n.installNow )
|
||||
.attr( 'aria-label', wp.updates.l10n.installNowLabel.replace( '%s', pluginName ) );
|
||||
.attr( 'aria-label', wp.updates.l10n.pluginInstallNowLabel.replace( '%s', pluginName ) );
|
||||
|
||||
wp.a11y.speak( wp.updates.l10n.updateCancel, 'polite' );
|
||||
} );
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-alpha-44416';
|
||||
$wp_version = '5.1-alpha-44417';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue