diff --git a/INSTALL.mysql.txt b/INSTALL.mysql.txt index a5490a5afa7f27a57f4108f2a4bee93cf07a9b6a..56bf414051135821d1802b3c14c1c3e24fd29ab3 100644 --- a/INSTALL.mysql.txt +++ b/INSTALL.mysql.txt @@ -14,7 +14,7 @@ is the name of the new database): mysqladmin -u username -p create databasename MySQL will prompt for the 'username' database password and then create the -initial database files. Next you must login and set the access database rights: +initial database files. Next you must log in and set the access database rights: mysql -u username -p diff --git a/includes/filetransfer/ftp.inc b/includes/filetransfer/ftp.inc index e3606c29175c12fed131215111ea92b45f10a7ba..b6046b2def40d72057fd72bed892bb9e066b8a19 100644 --- a/includes/filetransfer/ftp.inc +++ b/includes/filetransfer/ftp.inc @@ -115,7 +115,7 @@ public function connect() { throw new FileTransferException("Cannot connect to FTP Server, check settings"); } if (!ftp_login($this->connection, $this->username, $this->password)) { - throw new FileTransferException("Cannot login to FTP server. Check username and password"); + throw new FileTransferException("Cannot log in to FTP server. Check username and password"); } } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index b8e9a2a6483f5e8e9fc5aa9c205c3566b93db600..50531cefd9e78f38ef61a3edd0aaa5e967ae7216 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -2195,11 +2195,11 @@ function theme_comment_post_forbidden($variables) { if (variable_get('user_register', 1)) { // Users can register themselves. - return t('<a href="@login">Login</a> or <a href="@register">register</a> to post comments', array('@login' => url('user/login', array('query' => $destination)), '@register' => url('user/register', array('query' => $destination)))); + return t('<a href="@login">Log in</a> or <a href="@register">register</a> to post comments', array('@login' => url('user/login', array('query' => $destination)), '@register' => url('user/register', array('query' => $destination)))); } else { // Only admins can add new users, no public registration. - return t('<a href="@login">Login</a> to post comments', array('@login' => url('user/login', array('query' => $destination)))); + return t('<a href="@login">Log in</a> to post comments', array('@login' => url('user/login', array('query' => $destination)))); } } } diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 7e6495c6ed1446219e2360d11456aee98369688d..647f9d8930de9f8ebfded64d73230ff6471f6c42 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -580,7 +580,7 @@ class CommentAnonymous extends CommentHelperCase { )); $this->drupalGet('node/' . $this->node->nid); $this->assertPattern('/<div ([^>]*?)id="comments"([^>]*?)>/', t('Comments were displayed.')); - $this->assertLink('Login', 1, t('Link to login was found.')); + $this->assertLink('Log in', 1, t('Link to log in was found.')); $this->assertLink('register', 1, t('Link to register was found.')); } } diff --git a/modules/forum/forum.module b/modules/forum/forum.module index a059718fdcb6aae9b5725e4448743da8736b9284..8e9eba04cff5662cf24a008da2d93ad110c45340 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -196,7 +196,7 @@ function forum_menu_local_tasks_alter(&$data, $router_item, $root_path) { $links['login'] = array( '#theme' => 'menu_local_action', '#link' => array( - 'title' => t('<a href="@login">Login</a> to post new content in the forum.', array( + 'title' => t('<a href="@login">Log in</a> to post new content in the forum.', array( '@login' => url('user/login', array('query' => drupal_get_destination())), )), 'localized_options' => array('html' => TRUE), diff --git a/modules/openid/openid.module b/modules/openid/openid.module index 69d7aae56ec4cc76dd245b3c797cf0304bdb6c46..03a1a86af44ec1e9b3780d8f08a0aad3b44c6288 100644 --- a/modules/openid/openid.module +++ b/modules/openid/openid.module @@ -44,9 +44,9 @@ function openid_menu() { function openid_help($path, $arg) { switch ($path) { case 'user/%/openid': - $output = '<p>' . t('This site supports <a href="@openid-net">OpenID</a>, a secure way to log into many websites using a single username and password. OpenID can reduce the necessity of managing many usernames and passwords for many websites.', array('@openid-net' => 'http://openid.net')) . '</p>'; + $output = '<p>' . t('This site supports <a href="@openid-net">OpenID</a>, a secure way to log in to many websites using a single username and password. OpenID can reduce the necessity of managing many usernames and passwords for many websites.', array('@openid-net' => 'http://openid.net')) . '</p>'; $output .= '<p>' . t('To use OpenID you must first establish an identity on a public or private OpenID server. If you do not have an OpenID and would like one, look into one of the <a href="@openid-providers">free public providers</a>. You can find out more about OpenID at <a href="@openid-net">this website</a>.', array('@openid-providers' => 'http://openid.net/get/', '@openid-net' => 'http://openid.net')) . '</p>'; - $output .= '<p>' . t('If you already have an OpenID, enter the URL to your OpenID server below (e.g. myusername.openidprovider.com). Next time you login, you will be able to use this URL instead of a regular username and password. You can have multiple OpenID servers if you like; just keep adding them here.') . '</p>'; + $output .= '<p>' . t('If you already have an OpenID, enter the URL to your OpenID server below (e.g. myusername.openidprovider.com). Next time you log in, you will be able to use this URL instead of a regular username and password. You can have multiple OpenID servers if you like; just keep adding them here.') . '</p>'; return $output; case 'admin/help#openid': $output = ''; @@ -66,7 +66,7 @@ function openid_help($path, $arg) { */ function openid_user_insert(&$edit, $account, $category) { if (isset($_SESSION['openid']['values'])) { - // The user has registered after trying to login via OpenID. + // The user has registered after trying to log in via OpenID. if (variable_get('user_email_verification', TRUE)) { drupal_set_message(t('Once you have verified your e-mail address, you may log in via OpenID.')); } diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 7ea6001457d88a6f9007db73bc0fc971986f2186..c5d2926e91cf8ed704e9aee1a58fb20bc4d481b2 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1021,7 +1021,7 @@ protected function checkPermissions(array $permissions, $reset = FALSE) { * populated with data of the logged in user. If you need full access to the * user object after logging in, it must be updated manually. If you also need * access to the plain-text password of the user (set by drupalCreateUser()), - * e.g. to login the same user again, then it must be re-assigned manually. + * e.g. to log in the same user again, then it must be re-assigned manually. * For example: * @code * // Create a user. @@ -1034,7 +1034,7 @@ protected function checkPermissions(array $permissions, $reset = FALSE) { * @endcode * * @param $user - * User object representing the user to login. + * User object representing the user to log in. * * @see drupalCreateUser() */ diff --git a/modules/user/user.module b/modules/user/user.module index 3361f06e9698bba7d4fc054524e077231f19233e..ce5c511a128812655460bd59bc04808ac12a022c 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 33fe8a48a67300ef54201c24b33aaef02483e2d1..7eff7de4360ef658e43964448c9d40beef735f28 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'); } }