Make WordPress Core

Changeset 32381


Ignore:
Timestamp:
05/06/2015 09:11:18 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Multisite: Add translator comments to default email messages with non-typical placeholders.

props yoavf.
fixes #32263.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ms.php

    r32339 r32381  
    254254    update_option( 'adminhash', $new_admin_email );
    255255
     256    /* translators: Do not translate USERNAME, ADMIN_URL, EMAIL, SITENAME, SITEURL: those are placeholders. */
    256257    $email_text = __( 'Howdy ###USERNAME###,
    257258
     
    335336        update_option( $current_user->ID . '_new_email', $new_user_email );
    336337
     338        /* translators: Do not translate USERNAME, ADMIN_URL, EMAIL, SITENAME, SITEURL: those are placeholders. */
    337339        $email_text = __( 'Howdy ###USERNAME###,
    338340
  • trunk/src/wp-admin/includes/schema.php

    r31403 r32381  
    918918    }
    919919
     920    /* translators: Do not translate USERNAME, SITE_NAME, BLOG_URL, PASSWORD: those are placeholders. */
    920921    $welcome_email = __( 'Howdy USERNAME,
    921922
  • trunk/src/wp-admin/ms-delete-site.php

    r31673 r32381  
    4343    $url_delete = esc_url( admin_url( 'ms-delete-site.php?h=' . $hash ) );
    4444
     45    /* translators: Do not translate USERNAME, URL_DELETE, SITE_NAME: those are placeholders. */
    4546    $content = __( "Howdy ###USERNAME###,
    4647
  • trunk/src/wp-includes/ms-functions.php

    r32064 r32381  
    14341434
    14351435    $welcome_email = get_site_option( 'welcome_email' );
    1436     if ( $welcome_email == false )
     1436    if ( $welcome_email == false ) {
     1437        /* translators: Do not translate USERNAME, SITE_NAME, BLOG_URL, PASSWORD: those are placeholders. */
    14371438        $welcome_email = __( 'Howdy USERNAME,
    14381439
     
    14491450
    14501451--The Team @ SITE_NAME' );
     1452    }
    14511453
    14521454    $url = get_blogaddress_by_id($blog_id);
     
    20812083    if ( !$text ) {
    20822084        remove_filter( 'site_option_welcome_user_email', 'welcome_user_msg_filter' );
     2085
     2086        /* translators: Do not translate USERNAME, PASSWORD, LOGINLINK, SITE_NAME: those are placeholders. */
    20832087        $text = __( 'Howdy USERNAME,
    20842088
Note: See TracChangeset for help on using the changeset viewer.