WordPress.org

Make WordPress Core


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

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

props yoavf.
fixes #32263.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.