Commit 207e6f14 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#184729 by hazexp: remove duplicate wording about the username in mail sent out to new users

parent ee206532
...@@ -1486,7 +1486,7 @@ function _user_mail_text($key, $language = NULL, $variables = array()) { ...@@ -1486,7 +1486,7 @@ function _user_mail_text($key, $language = NULL, $variables = array()) {
case 'status_activated_subject': case 'status_activated_subject':
return t('Account details for !username at !site (approved)', $variables, $langcode); return t('Account details for !username at !site (approved)', $variables, $langcode);
case 'status_activated_body': case 'status_activated_body':
return t("!username,\n\nYour account at !site has been activated.\n\nYou may now log in by clicking on this link or copying and pasting it in your browser:\n\n!login_url\n\nThis is a one-time login, so it can be used only once.\n\nAfter logging in, you will be redirected to !edit_uri so you can change your password.\n\nOnce you have set your own password, you will be able to log in to !login_uri in the future using the following username:\n\nusername: !username\n", $variables, $langcode); return t("!username,\n\nYour account at !site has been activated.\n\nYou may now log in by clicking on this link or copying and pasting it in your browser:\n\n!login_url\n\nThis is a one-time login, so it can be used only once.\n\nAfter logging in, you will be redirected to !edit_uri so you can change your password.\n\nOnce you have set your own password, you will be able to log in to !login_uri in the future using:\n\nusername: !username\n", $variables, $langcode);
case 'status_blocked_subject': case 'status_blocked_subject':
return t('Account details for !username at !site (blocked)', $variables, $langcode); return t('Account details for !username at !site (blocked)', $variables, $langcode);
case 'status_blocked_body': case 'status_blocked_body':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment