Make WordPress Core

Ticket #45765: 45765.diff

File 45765.diff, 1.8 KB (added by afercia, 6 years ago)
  • src/js/_enqueues/wp/updates.js

     
    718718                $installLink
    719719                        .removeClass( 'updating-message' )
    720720                        .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 ) );
    722722
    723723                wp.a11y.speak( errorMessage, 'assertive' );
    724724
     
    19311931                                        $button
    19321932                                                .removeClass( 'updating-message' )
    19331933                                                .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 ) );
    19351935
    19361936                                        wp.a11y.speak( wp.updates.l10n.updateCancel, 'polite' );
    19371937                                } );
  • src/wp-admin/import.php

     
    6161<h1><?php echo esc_html( $title ); ?></h1>
    6262<?php if ( ! empty( $_GET['invalid'] ) ) : ?>
    6363        <div class="error">
    64                 <p><strong><?php _e( 'ERROR:' ); ?></strong> 
     64                <p><strong><?php _e( 'ERROR:' ); ?></strong>
    6565                                                                <?php
    6666                                                                /* translators: %s: importer slug */
    6767                                                                printf( __( 'The %s importer is invalid or is not installed.' ), '<strong>' . esc_html( $_GET['invalid'] ) . '</strong>' );
     
    155155                                                esc_attr( $plugin_slug ),
    156156                                                esc_attr( $data[0] ),
    157157                                                /* translators: %s: Importer name */
    158                                                 esc_attr( sprintf( __( 'Install %s' ), $data[0] ) ),
     158                                                esc_attr( sprintf( __( 'Install %s now' ), $data[0] ) ),
    159159                                                __( 'Install Now' )
    160160                                        );
    161161                                } else {