@@ -11,7 +11,7 @@ <h2>{{ "UpdatePassword" | localize }}</h2>
1111 < div class ="col-md-6 ">
1212 < mat-form-field >
1313 < input matInput id ="currentPassword " type ="password " name ="CurrentPassword " formControlName ="currentPassword "
14- [placeholder] ="'Current Password ' | localize "
14+ [placeholder] ="'CurrentPassword ' | localize "
1515 required minlength ="2 " maxlength ="32 "
1616 />
1717 </ mat-form-field >
@@ -21,11 +21,11 @@ <h2>{{ "UpdatePassword" | localize }}</h2>
2121 < div class ="col-md-6 " [formGroup] ="passwordsFormGroup " formGroupName ="passwords ">
2222 < mat-form-field >
2323 < input matInput id ="newPassword " formControlName ="newPassword " type ="password " name ="NewPassword "
24- [placeholder] ="'New Password ' | localize "
24+ [placeholder] ="'NewPassword ' | localize "
2525 required minlength ="2 " maxlength ="32 "
2626 />
2727 < mat-error *ngIf ="passwordsFormGroup.controls.newPassword.errors ">
28- Passwords must be at least 8 characters, contain a lowercase, uppercase, and number
28+ {{ "PasswordsMustBeAtLeast8CharactersContainLowercaseUppercaseNumber" | localize }}
2929 </ mat-error >
3030 </ mat-form-field >
3131 </ div >
@@ -34,14 +34,14 @@ <h2>{{ "UpdatePassword" | localize }}</h2>
3434 < div class ="col-md-6 " formGroupName ="passwords ">
3535 < mat-form-field >
3636 < input matInput id ="repeatNewPassword " formControlName ="repeatNewPassword " type ="password " name ="RepeatNewPassword "
37- [placeholder] ="'Confirm New Password ' | localize " [errorStateMatcher] ="equalMatcher "
37+ [placeholder] ="'ConfirmNewPassword ' | localize " [errorStateMatcher] ="equalMatcher "
3838 required minlength ="2 " maxlength ="32 "
3939 />
4040 < mat-error *ngIf ="passwordsFormGroup.errors &&
4141 passwordsFormGroup.errors.areEqual &&
4242 passwordsFormGroup.controls.newPassword.touched
4343 ">
44- Passwords do not match
44+ {{ "PasswordsDoNotMatch" | localize }}
4545 </ mat-error >
4646 </ mat-form-field >
4747 </ div >
0 commit comments