Skip to content

Commit

Permalink
Merge pull request #2186 from ORCID/fix/9122-qa-fixes-to-text-in-sign…
Browse files Browse the repository at this point in the history
…-in-updates

fix: Add full stop to sign in text and update claim link text
  • Loading branch information
leomendoza123 authored Mar 13, 2024
2 parents 285e7f2 + 6f34682 commit f39d50f
Show file tree
Hide file tree
Showing 21 changed files with 1,357 additions and 1,363 deletions.
160 changes: 80 additions & 80 deletions src/app/cdk/my-orcid-alerts/my-orcid-alerts.component.html
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
<ng-container *ngIf="!signInUpdatesV1Togglz">
<mat-toolbar>
<mat-toolbar-row>
<div role="alert">
<p class="mat-body-2">
<ng-container
i18n="@@myOrcidAlerts.invalidVerifyUrl"
*ngIf="invalidVerifyUrl"
>
Your email couldn't be verified, please check the link you used to
verify it.
</ng-container>
<ng-container
i18n="@@myOrcidAlerts.emailVerified"
*ngIf="emailVerified"
>
Thank you for verifying your email
</ng-container>
</p>
</div>
</mat-toolbar-row>
</mat-toolbar>
</ng-container>
<ng-container *ngIf="signInUpdatesV1Togglz">
<ng-container *ngIf="emailVerified || invalidVerifyUrl">
<div
[ngClass]="{
verification: emailVerified,
invalid: invalidVerifyUrl
}"
>
<div>
<mat-icon class="large-material-icon material-symbols-outlined">
<ng-container *ngIf="emailVerified">check_circle</ng-container>
<ng-container *ngIf="invalidVerifyUrl">warning</ng-container>
</mat-icon>
</div>
<div class="content">
<div>
<b i18n="@@ngOrcid.signin.almostDone"> Almost done! </b>
</div>
<div>
<ng-container
i18n="@@ngOrcid.signin.signInToComplete"
*ngIf="emailVerified"
>
Sign in to complete your email verification
</ng-container>
<ng-container
i18n="@@myOrcidAlerts.invalidVerifyUrl"
*ngIf="invalidVerifyUrl"
>
Your email couldn't be verified, please check the link you used to
verify it.
</ng-container>
</div>
</div>
</div>
</ng-container>
<ng-container *ngIf="printError && badCredentials">
<div class="invalid">
<div>
<mat-icon class="large-material-icon material-symbols-outlined"
>warning</mat-icon
>
</div>
<div class="content">
<div>
<b i18n="@@ngOrcid.signin.somethingNotQuiteRight">
Something's not quite right...
</b>
</div>
<div i18n="@@ngOrcid.signin.checkYourSignIn">
Please check that your sign in details are correct and then try
signing in again
</div>
</div>
</div>
</ng-container>
</ng-container>
<ng-container *ngIf="!signInUpdatesV1Togglz">
<mat-toolbar>
<mat-toolbar-row>
<div role="alert">
<p class="mat-body-2">
<ng-container
i18n="@@myOrcidAlerts.invalidVerifyUrl"
*ngIf="invalidVerifyUrl"
>
Your email couldn't be verified, please check the link you used to
verify it.
</ng-container>
<ng-container
i18n="@@myOrcidAlerts.emailVerified"
*ngIf="emailVerified"
>
Thank you for verifying your email
</ng-container>
</p>
</div>
</mat-toolbar-row>
</mat-toolbar>
</ng-container>
<ng-container *ngIf="signInUpdatesV1Togglz">
<ng-container *ngIf="emailVerified || invalidVerifyUrl">
<div
[ngClass]="{
verification: emailVerified,
invalid: invalidVerifyUrl
}"
>
<div>
<mat-icon class="large-material-icon material-symbols-outlined">
<ng-container *ngIf="emailVerified">check_circle</ng-container>
<ng-container *ngIf="invalidVerifyUrl">warning</ng-container>
</mat-icon>
</div>
<div class="content">
<div>
<b i18n="@@ngOrcid.signin.almostDone"> Almost done! </b>
</div>
<div>
<ng-container
i18n="@@ngOrcid.signin.signInToComplete"
*ngIf="emailVerified"
>
Sign in to complete your email verification
</ng-container>
<ng-container
i18n="@@myOrcidAlerts.invalidVerifyUrl"
*ngIf="invalidVerifyUrl"
>
Your email couldn't be verified, please check the link you used to
verify it.
</ng-container>
</div>
</div>
</div>
</ng-container>
<ng-container *ngIf="printError && badCredentials">
<div class="invalid">
<div>
<mat-icon class="large-material-icon material-symbols-outlined"
>warning</mat-icon
>
</div>
<div class="content">
<div>
<b i18n="@@ngOrcid.signin.somethingNotQuiteRight">
Something's not quite right...
</b>
</div>
<div i18n="@@ngOrcid.signin.checkYourSignIn">
Please check that your sign in details are correct and then try
signing in again.
</div>
</div>
</div>
</ng-container>
</ng-container>
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
*ngIf="showDeactivatedError"
>
You will need to reactivate the account before you can sign in
with this email address
with this email address.
</i>
</ng-container>

Expand All @@ -94,11 +94,11 @@

<div>
<a
i18n="@@register.resendClaimAddress"
i18n="@@ngOrcid.signin.claimYourOrcidRecord"
(click)="unclaimed()"
*ngIf="showUnclaimedError"
>
Resend a claim email to this email address</a
Claim your ORCID record</a
>
<a
i18n="@@register.reactivateOrcidAssociated"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@
</mat-hint>

<mat-error
i18n="@@ngOrcid.signin.enterValidEmailOrOrcid"
i18n="@@ngOrcid.signin.pleaseEnterEmailAddress"
*ngIf="usernameForm.hasError('required')"
>Please enter a valid email address or your ORCID iD
>Please enter your email address or your ORCID iD
</mat-error>

<mat-error
Expand Down Expand Up @@ -161,7 +161,7 @@
>
<i i18n="@@ngOrcid.signin.yourCannotSignIn"
>You cannot sign in to this ORCID account until you have reset
your password</i
your password.</i
>
</p>
</div>
Expand Down
Loading

0 comments on commit f39d50f

Please sign in to comment.