Changeset 48589
- Timestamp:
- 07/23/2020 09:06:26 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/updates.js
r48569 r48589 487 487 errorMessage = sprintf( 488 488 /* translators: %s: Error string for a failed update. */ 489 __( 'Update Failed: %s' ),489 __( 'Update failed: %s' ), 490 490 response.errorMessage 491 491 ); … … 521 521 522 522 $card.find( '.update-now' ) 523 .text( __( 'Update failed ' ) )523 .text( __( 'Update failed.' ) ) 524 524 .removeClass( 'updating-message' ); 525 525 … … 728 728 ) 729 729 ) 730 .text( __( 'Installation failed ' ) );730 .text( __( 'Installation failed.' ) ); 731 731 732 732 wp.a11y.speak( errorMessage, 'assertive' ); … … 1144 1144 errorMessage = sprintf( 1145 1145 /* translators: %s: Error string for a failed update. */ 1146 __( 'Update Failed: %s' ),1146 __( 'Update failed: %s' ), 1147 1147 response.errorMessage 1148 1148 ), … … 1365 1365 ) 1366 1366 ) 1367 .text( __( 'Installation failed ' ) );1367 .text( __( 'Installation failed.' ) ); 1368 1368 1369 1369 wp.a11y.speak( errorMessage, 'assertive' ); … … 1805 1805 case 'update': 1806 1806 /* translators: %s: Error string for a failed update. */ 1807 errorMessage = __( 'Update Failed: %s' );1807 errorMessage = __( 'Update failed: %s' ); 1808 1808 break; 1809 1809 … … 1839 1839 .removeAttr( 'aria-label' ) 1840 1840 .prop( 'disabled', true ) 1841 .text( __( 'Update failed ' ) );1841 .text( __( 'Update failed.' ) ); 1842 1842 1843 1843 $( '.updating-message:not(.button):not(.thickbox)' ) -
trunk/src/wp-admin/includes/ajax-actions.php
r48569 r48589 4211 4211 4212 4212 // An unhandled error occurred. 4213 $status['errorMessage'] = __( ' Update failed' );4213 $status['errorMessage'] = __( 'Theme update failed.' ); 4214 4214 wp_send_json_error( $status ); 4215 4215 } -
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r48568 r48589 387 387 // Core doesn't output this, so let's append it so we don't get confused. 388 388 if ( is_wp_error( $upgrade_result ) ) { 389 $skin->error( __( 'Installation failed ' ), $upgrade_result );389 $skin->error( __( 'Installation failed.' ), $upgrade_result ); 390 390 } else { 391 $skin->feedback( __( 'WordPress updated successfully ' ) );391 $skin->feedback( __( 'WordPress updated successfully.' ) ); 392 392 } 393 393 } -
trunk/src/wp-admin/includes/update-core.php
r48344 r48589 1430 1430 1431 1431 // See do_core_upgrade(). 1432 show_message( __( 'WordPress updated successfully ' ) );1432 show_message( __( 'WordPress updated successfully.' ) ); 1433 1433 1434 1434 // self_admin_url() won't exist when upgrading from <= 3.0, so relative URLs are intentional. -
trunk/src/wp-admin/update-core.php
r48568 r48589 647 647 show_message( $result ); 648 648 if ( 'up_to_date' != $result->get_error_code() && 'locked' != $result->get_error_code() ) { 649 show_message( __( 'Installation failed ' ) );649 show_message( __( 'Installation failed.' ) ); 650 650 } 651 651 echo '</div>'; … … 653 653 } 654 654 655 show_message( __( 'WordPress updated successfully ' ) );655 show_message( __( 'WordPress updated successfully.' ) ); 656 656 show_message( 657 657 '<span class="hide-if-no-js">' . sprintf(
Note: See TracChangeset
for help on using the changeset viewer.