Make WordPress Core

Changeset 2477 for trunk/wp-register.php


Ignore:
Timestamp:
03/25/2005 09:41:45 PM (19 years ago)
Author:
ryan
Message:

Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-register.php

    r2441 r2477  
    7676    $message  = sprintf(__('Username: %s'), $user_login) . "\r\n";
    7777    $message .= sprintf(__('Password: %s'), $password) . "\r\n";
    78     $message .= get_settings('siteurl') . '/wp-login.php';
     78    $message .= get_settings('siteurl') . "/wp-login.php\r\n";
    7979   
    80     wp_mail($user_email, sprintf(__("[%s] Your username and password"), get_settings('blogname')), $message);
     80    wp_mail($user_email, sprintf(__('[%s] Your username and password'), get_settings('blogname')), $message);
    8181
    82     $message  = sprintf(__("New user registration on your blog %1\$s:\n\nUsername: %2\$s \n\nE-mail: %3\$s"), get_settings('blogname'), $user_login, $user_email);
     82    $message  = sprintf(__('New user registration on your blog %s:'), get_settings('blogname')) . "\r\n\r\n";
     83    $message .= sprintf(__('Username: %s'), $user_login) . "\r\n\r\n";
     84    $message .= sprintf(__('E-mail: %s'), $user_email) . "\r\n";
    8385
    8486    @wp_mail(get_settings('admin_email'), sprintf(__('[%s] New User Registration'), get_settings('blogname')), $message);
Note: See TracChangeset for help on using the changeset viewer.