Make WordPress Core


Ignore:
Timestamp:
04/15/2019 10:38:59 PM (7 years ago)
Author:
johnbillion
Message:

I18N: Improvements to and additions of translator comments for various email subject strings.

Props ramiy

Fixes #46920

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r45165 r45204  
    649649        switch ( $type ) {
    650650            case 'success': // We updated.
    651                 /* translators: 1: Site name, 2: WordPress version number. */
     651                /* translators: Site updated notification email subject. 1: Site title, 2: WordPress version number. */
    652652                $subject = __( '[%1$s] Your site has updated to WordPress %2$s' );
    653653                break;
     
    655655            case 'fail':   // We tried to update but couldn't.
    656656            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 title, 2: WordPress version number. */
    658658                $subject = __( '[%1$s] WordPress %2$s is available. Please update!' );
    659659                break;
    660660
    661661            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 title. */
    663663                $subject = __( '[%1$s] URGENT: Your site may be down due to a failed update' );
    664664                break;
     
    912912            $body[] = '';
    913913
    914             /* translators: Background update failed notification email subject. %s: site title */
     914            /* translators: Background update failed notification email subject. %s: Site title */
    915915            $subject = sprintf( __( '[%s] Background Update Failed' ), $site_title );
    916916        } else {
    917             /* translators: Background update finished notification email subject. %s: site title */
     917            /* translators: Background update finished notification email subject. %s: Site title */
    918918            $subject = sprintf( __( '[%s] Background Update Finished' ), $site_title );
    919919        }
Note: See TracChangeset for help on using the changeset viewer.