Skip to content

Commit

Permalink
chore: adjust text in Angular for integration testing (aws-amplify#3982)
Browse files Browse the repository at this point in the history
* Adjust reset your password to match other frameworks

* Adjust text to match other frameworks

* adjust text for reset your password in forgot password comp
  • Loading branch information
sammartinez authored Sep 6, 2019
1 parent 482b012 commit 072694f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const template = `
<a class="amplify-form-link"
(click)="onForgotPassword()"
data-test="${auth.signIn.forgotPasswordLink}"
>{{ this.amplifyService.i18n().get('Reset your password') }}</a>
>{{ this.amplifyService.i18n().get('Reset password') }}</a>
</span>
</div>
<div class="amplify-form-actions">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class UsernameFieldComponentCore implements OnInit {
}

getPlaceholder() {
return this.amplifyService.i18n().get(`Enter your ${this.getUsernameLabel()}` || this._placeholder);
return this.amplifyService.i18n().get(`${this.getUsernameLabel()}` || this._placeholder);
}

onPhoneFieldChanged(event: PhoneFieldOutput) {
Expand Down

0 comments on commit 072694f

Please sign in to comment.