Ticket #46920: 46920.patch
File 46920.patch, 1.8 KB (added by , 6 years ago) |
---|
-
wp-admin/includes/class-wp-automatic-updater.php
648 648 649 649 switch ( $type ) { 650 650 case 'success': // We updated. 651 /* translators: 1: Site name, 2: WordPress version number. */651 /* translators: Site updated notification email subject. 1: Site name, 2: WordPress version number. */ 652 652 $subject = __( '[%1$s] Your site has updated to WordPress %2$s' ); 653 653 break; 654 654 655 655 case 'fail': // We tried to update but couldn't. 656 656 case 'manual': // We can't update (and made no attempt). 657 /* translators: 1: Site name, 2: WordPress version number. */657 /* translators: Updated available notification email subject. 1: Site name, 2: WordPress version number. */ 658 658 $subject = __( '[%1$s] WordPress %2$s is available. Please update!' ); 659 659 break; 660 660 661 661 case 'critical': // We tried to update, started to copy files, then things went wrong. 662 /* translators: 1: Site name. */662 /* translators: Site down notification email subject. 1: Site name. */ 663 663 $subject = __( '[%1$s] URGENT: Your site may be down due to a failed update' ); 664 664 break; 665 665 … … 911 911 ); 912 912 $body[] = ''; 913 913 914 /* translators: Background update failed notification email subject. %s: site title */914 /* translators: Background update failed notification email subject. %s: Site name */ 915 915 $subject = sprintf( __( '[%s] Background Update Failed' ), $site_title ); 916 916 } else { 917 /* translators: Background update finished notification email subject. %s: site title */917 /* translators: Background update finished notification email subject. %s: Site name */ 918 918 $subject = sprintf( __( '[%s] Background Update Finished' ), $site_title ); 919 919 } 920 920