Ticket #37290: 37290.patch
File 37290.patch, 2.7 KB (added by , 9 years ago) |
---|
-
src/wp-admin/js/updates.js
595 595 596 596 $button 597 597 .removeClass( 'updating-message' ).addClass( 'button-disabled' ) 598 .attr( 'aria-label', wp.updates.l10n. installFailedLabel.replace( '%s', response.pluginName ) )598 .attr( 'aria-label', wp.updates.l10n.pluginInstallFailedLabel.replace( '%s', response.pluginName ) ) 599 599 .text( wp.updates.l10n.installFailedShort ); 600 600 601 601 wp.a11y.speak( errorMessage, 'assertive' ); … … 1098 1098 1099 1099 $button 1100 1100 .removeClass( 'updating-message' ) 1101 .attr( 'aria-label', wp.updates.l10n. installFailedLabel.replace( '%s', $card.find( '.theme-name' ).text() ) )1101 .attr( 'aria-label', wp.updates.l10n.themeInstallFailedLabel.replace( '%s', $card.find( '.theme-name' ).text() ) ) 1102 1102 .text( wp.updates.l10n.installFailedShort ); 1103 1103 1104 1104 wp.a11y.speak( errorMessage, 'assertive' ); -
src/wp-includes/script-loader.php
628 628 'installFailedShort' => __( 'Install Failed!' ), 629 629 /* translators: Error string for a failed installation */ 630 630 'installFailed' => __( 'Installation failed: %s' ), 631 /* translators: Plugin/Theme name and version */ 632 'installingLabel' => __( 'Installing %s...' ), // no ellipsis 633 /* translators: Plugin/Theme name and version */ 634 'installedLabel' => __( '%s installed!' ), 635 /* translators: Plugin/Theme name and version */ 636 'installFailedLabel' => __( '%s installation failed' ), 631 /* translators: Plugin name and version */ 632 'pluginInstallingLabel' => _x( 'Installing %s...', 'plugin' ), // no ellipsis 633 /* translators: Theme name and version */ 634 'themeInstallingLabel' => _x( 'Installing %s...', 'theme' ), // no ellipsis 635 /* translators: Plugin name and version */ 636 'pluginInstalledLabel' => _x( '%s installed!', 'plugin' ), 637 /* translators: Theme name and version */ 638 'themeInstalledLabel' => _x( '%s installed!', 'theme' ), 639 /* translators: Plugin name and version */ 640 'pluginInstallFailedLabel' => _x( '%s installation failed', 'plugin' ), 641 /* translators: Theme name and version */ 642 'themeInstallFailedLabel' => _x( '%s installation failed', 'theme' ), 637 643 'installingMsg' => __( 'Installing... please wait.' ), 638 644 'installedMsg' => __( 'Installation completed successfully.' ), 639 645 /* translators: Activation URL */