summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-11 16:25:16 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-11 16:25:16 +0000
commit69ed7f66b8e846e90e1540e36693e518936a23bb (patch)
tree0351153ac1c9224622c6cfb2f999dc90a6d3b1ae /modules/user
parent3e552053f1fd3ebcc34c2fef4efb50721da749e5 (diff)
downloadbrdo-69ed7f66b8e846e90e1540e36693e518936a23bb.tar.gz
brdo-69ed7f66b8e846e90e1540e36693e518936a23bb.tar.bz2
#546356 by jhodgdon and threexk: Change 'login' verb to 'log in' in user interface.
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.module2
-rw-r--r--modules/user/user.pages.inc6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 3361f06e9..ce5c511a1 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -3184,7 +3184,7 @@ function user_register_submit($form, &$form_state) {
if ($admin && !$notify) {
drupal_set_message(t('Created a new user account for <a href="@url">%name</a>. No e-mail has been sent.', array('@url' => url("user/$account->uid"), '%name' => $account->name)));
}
- // No e-mail verification required; login user immediately.
+ // No e-mail verification required; log in user immediately.
elseif (!$admin && !variable_get('user_email_verification', TRUE) && $account->status) {
_user_mail_notify('register_no_approval_required', $account);
$form_state['uid'] = $account->uid;
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc
index 33fe8a48a..7eff7de43 100644
--- a/modules/user/user.pages.inc
+++ b/modules/user/user.pages.inc
@@ -119,11 +119,11 @@ function user_pass_reset($form, &$form_state, $uid, $timestamp, $hashed_pass, $a
// user_login_finalize() also updates the login timestamp of the
// user, which invalidates further use of the one-time login link.
user_login_finalize();
- drupal_set_message(t('You have just used your one-time login link. It is no longer necessary to use this link to login. Please change your password.'));
+ drupal_set_message(t('You have just used your one-time login link. It is no longer necessary to use this link to log in. Please change your password.'));
drupal_goto('user/' . $user->uid . '/edit');
}
else {
- $form['message'] = array('#markup' => t('<p>This is a one-time login for %user_name and will expire on %expiration_date.</p><p>Click on this button to login to the site and change your password.</p>', array('%user_name' => $account->name, '%expiration_date' => format_date($timestamp + $timeout))));
+ $form['message'] = array('#markup' => t('<p>This is a one-time login for %user_name and will expire on %expiration_date.</p><p>Click on this button to log in to the site and change your password.</p>', array('%user_name' => $account->name, '%expiration_date' => format_date($timestamp + $timeout))));
$form['help'] = array('#markup' => '<p>' . t('This login can be used only once.') . '</p>');
$form['submit'] = array('#type' => 'submit', '#value' => t('Log in'));
$form['#action'] = url("user/reset/$uid/$timestamp/$hashed_pass/login");
@@ -131,7 +131,7 @@ function user_pass_reset($form, &$form_state, $uid, $timestamp, $hashed_pass, $a
}
}
else {
- drupal_set_message(t('You have tried to use a one-time login link which has either been used or is no longer valid. Please request a new one using the form below.'));
+ drupal_set_message(t('You have tried to use a one-time login link that has either been used or is no longer valid. Please request a new one using the form below.'));
drupal_goto('user/password');
}
}