diff --git form.inc form.inc
index 1529c19..ca621ac 100644
--- includes/form.inc
+++ includes/form.inc
@@ -1605,16 +1605,18 @@ function theme_password_confirm($element) {
  * Expand a password_confirm field into two text boxes.
  */
 function expand_password_confirm($element) {
+  $t = get_t();
+
   $element['pass1'] =  array(
     '#type' => 'password',
-    '#title' => t('Password'),
+    '#title' => $t('Password'),
     '#value' => empty($element['#value']) ? NULL : $element['#value']['pass1'],
     '#required' => $element['#required'],
     '#attributes' => array('class' => 'password-field'),
   );
   $element['pass2'] =  array(
     '#type' => 'password',
-    '#title' => t('Confirm password'),
+    '#title' => $t('Confirm password'),
     '#value' => empty($element['#value']) ? NULL : $element['#value']['pass2'],
     '#required' => $element['#required'],
     '#attributes' => array('class' => 'password-confirm'),
diff --git a/user.module b/user.module
index a4dfe77..9f264ae 100644
--- modules/user/user.module
+++ modules/user/user.module
@@ -2214,21 +2214,23 @@ function _user_password_dynamic_validation() {
   if (!$complete) {
     drupal_add_js(drupal_get_path('module', 'user') .'/user.js', 'module');

+    $t = get_t();
+
     drupal_add_js(array(
       'password' => array(
-        'strengthTitle' => t('Password strength:'),
-        'lowStrength' => t('Low'),
-        'mediumStrength' => t('Medium'),
-        'highStrength' => t('High'),
-        'tooShort' => t('It is recommended to choose a password that contains at least six characters. It should include numbers, punctuation, and both upper and lowercase letters.'),
-        'needsMoreVariation' => t('The password does not include enough variation to be secure. Try:'),
-        'addLetters' => t('Adding both upper and lowercase letters.'),
-        'addNumbers' => t('Adding numbers.'),
-        'addPunctuation' => t('Adding punctuation.'),
-        'sameAsUsername' => t('It is recommended to choose a password different from the username.'),
-        'confirmSuccess' => t('Yes'),
-        'confirmFailure' => t('No'),
-        'confirmTitle' => t('Passwords match:'),
+        'strengthTitle' => $t('Password strength:'),
+        'lowStrength' => $t('Low'),
+        'mediumStrength' => $t('Medium'),
+        'highStrength' => $t('High'),
+        'tooShort' => $t('It is recommended to choose a password that contains at least six characters. It should include numbers, punctuation, and both upper and lowercase letters.'),
+        'needsMoreVariation' => $t('The password does not include enough variation to be secure. Try:'),
+        'addLetters' => $t('Adding both upper and lowercase letters.'),
+        'addNumbers' => $t('Adding numbers.'),
+        'addPunctuation' => $t('Adding punctuation.'),
+        'sameAsUsername' => $t('It is recommended to choose a password different from the username.'),
+        'confirmSuccess' => $t('Yes'),
+        'confirmFailure' => $t('No'),
+        'confirmTitle' => $t('Passwords match:'),
         'username' => (isset($user->name) ? $user->name : ''))),
       'setting');
     $complete = TRUE;
