Ticket #45765: 45765.diff
File 45765.diff, 1.8 KB (added by , 6 years ago) |
---|
-
src/js/_enqueues/wp/updates.js
718 718 $installLink 719 719 .removeClass( 'updating-message' ) 720 720 .text( wp.updates.l10n.installNow ) 721 .attr( 'aria-label', wp.updates.l10n. installNowLabel.replace( '%s', pluginName ) );721 .attr( 'aria-label', wp.updates.l10n.pluginInstallNowLabel.replace( '%s', pluginName ) ); 722 722 723 723 wp.a11y.speak( errorMessage, 'assertive' ); 724 724 … … 1931 1931 $button 1932 1932 .removeClass( 'updating-message' ) 1933 1933 .text( wp.updates.l10n.installNow ) 1934 .attr( 'aria-label', wp.updates.l10n. installNowLabel.replace( '%s', pluginName ) );1934 .attr( 'aria-label', wp.updates.l10n.pluginInstallNowLabel.replace( '%s', pluginName ) ); 1935 1935 1936 1936 wp.a11y.speak( wp.updates.l10n.updateCancel, 'polite' ); 1937 1937 } ); -
src/wp-admin/import.php
61 61 <h1><?php echo esc_html( $title ); ?></h1> 62 62 <?php if ( ! empty( $_GET['invalid'] ) ) : ?> 63 63 <div class="error"> 64 <p><strong><?php _e( 'ERROR:' ); ?></strong> 64 <p><strong><?php _e( 'ERROR:' ); ?></strong> 65 65 <?php 66 66 /* translators: %s: importer slug */ 67 67 printf( __( 'The %s importer is invalid or is not installed.' ), '<strong>' . esc_html( $_GET['invalid'] ) . '</strong>' ); … … 155 155 esc_attr( $plugin_slug ), 156 156 esc_attr( $data[0] ), 157 157 /* translators: %s: Importer name */ 158 esc_attr( sprintf( __( 'Install %s ' ), $data[0] ) ),158 esc_attr( sprintf( __( 'Install %s now' ), $data[0] ) ), 159 159 __( 'Install Now' ) 160 160 ); 161 161 } else {