Browse Source

Update password change form language terms - extends 461e8ed0 - refs #2985

Yannick Warnier 5 years ago
parent
commit
38fb5b6565
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main/auth/profile.php

+ 3 - 3
main/auth/profile.php

@@ -311,10 +311,10 @@ if (is_platform_authentication() &&
     is_profile_editable() &&
     is_profile_editable() &&
     api_get_setting('profile', 'password') == 'true'
     api_get_setting('profile', 'password') == 'true'
 ) {
 ) {
-    $form->addElement('password', 'password0', [get_lang('Pass'), get_lang('ChangePasswordCurrent')], ['size' => 40]);
-    $form->addElement('password', 'password1', [get_lang('NewPass'), get_lang('EnterNewPassword')], ['id' => 'password1', 'size' => 40]);
+    $form->addElement('password', 'password0', [get_lang('Pass'), get_lang('TypeCurrentPassword')], ['size' => 40]);
+    $form->addElement('password', 'password1', [get_lang('NewPass'), get_lang('EnterYourNewPassword')], ['id' => 'password1', 'size' => 40]);
 
 
-    $form->addElement('password', 'password2', [get_lang('Confirmation'), get_lang('RepeatYouNewPassword')], ['size' => 40]);
+    $form->addElement('password', 'password2', [get_lang('Confirmation'), get_lang('RepeatYourNewPassword')], ['size' => 40]);
     //    user must enter identical password twice so we can prevent some user errors
     //    user must enter identical password twice so we can prevent some user errors
     $form->addRule(['password1', 'password2'], get_lang('PassTwo'), 'compare');
     $form->addRule(['password1', 'password2'], get_lang('PassTwo'), 'compare');
     $form->addPasswordRule('password1');
     $form->addPasswordRule('password1');