diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-30 16:43:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-30 16:43:20 +0000 |
commit | 92a8adea653b29a9e6ee7778e8628f57b959ca4f (patch) | |
tree | 0fd5b18555aff73bfe4bc5aa3479db3090ad4cf8 /modules/user | |
parent | cac5dd8a66a07887aca4c4730d56978eaf26c70b (diff) | |
download | brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.gz brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.bz2 |
- Patch #352470 by scor: fixed typos and grammar in comments.
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 4 | ||||
-rw-r--r-- | modules/user/user.pages.inc | 2 | ||||
-rw-r--r-- | modules/user/user.test | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 6282d35c5..366e92a4f 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1429,7 +1429,7 @@ function user_external_login_register($name, $module) { 'access' => REQUEST_TIME ); $account = user_save('', $userinfo); - // Terminate if an error occured during user_save(). + // Terminate if an error occurred during user_save(). if (!$account) { drupal_set_message(t("Error saving user account."), 'error'); return; @@ -2303,7 +2303,7 @@ function user_register_submit($form, &$form_state) { $merge_data['status'] = variable_get('user_register', 1) == 1; } $account = user_save('', array_merge($form_state['values'], $merge_data)); - // Terminate if an error occured during user_save(). + // Terminate if an error occurred during user_save(). if (!$account) { drupal_set_message(t("Error saving user account."), 'error'); $form_state['redirect'] = ''; diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index ada98b6fb..757f480d0 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -168,7 +168,7 @@ function template_preprocess_user_profile(&$variables) { $variables['profile'] = array(); // Sort sections by weight uasort($variables['account']->content, 'element_sort'); - // Provide keyed variables so themers can print each section independantly. + // Provide keyed variables so themers can print each section independently. foreach (element_children($variables['account']->content) as $key) { $variables['profile'][$key] = drupal_render($variables['account']->content[$key]); } diff --git a/modules/user/user.test b/modules/user/user.test index 01b5b50f7..9c92223c7 100644 --- a/modules/user/user.test +++ b/modules/user/user.test @@ -184,7 +184,7 @@ class UserDeleteTestCase extends DrupalWebTestCase { $this->drupalGet('user/' . $user->uid . '/edit'); $this->drupalPost(NULL, NULL, t('Delete')); $this->assertRaw(t('Are you sure you want to delete the account %name?', array('%name' => $user->name)), t('[confirm deletion] Asks for confirmation.')); - $this->assertText(t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'), t('[confirm deletion] Inform that all submissions will be attributed to anonymouse account.')); + $this->assertText(t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'), t('[confirm deletion] Inform that all submissions will be attributed to anonymous account.')); // Confirm deletion. $this->drupalPost(NULL, NULL, t('Delete')); |