Skip to content

Commit eb878bd

Browse files
committed
PD-3786 fix i18n
1 parent 22b95b0 commit eb878bd

3 files changed

Lines changed: 10 additions & 7 deletions

File tree

src/app/password-recovery/pages/password-recovery/password-recovery.component.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@
6565
</mat-radio-button>
6666

6767
<mat-radio-button value="orcidId" class="block">
68-
<span class="orc-font-body-small ml-2" i18n="@@recovery.myOrcidId">
68+
<span
69+
class="orc-font-body-small ml-2"
70+
i18n="@@recovery.my16DigitOrcidId"
71+
>
6972
my 16-digit ORCID iD
7073
</span>
7174
</mat-radio-button>
@@ -85,7 +88,7 @@
8588
<mat-label
8689
class="orc-font-small-print leading-4.5 font-bold!"
8790
id="email-input-label"
88-
i18n="@@register.email"
91+
i18n="@@register.Email"
8992
[ngClass]="{
9093
error:
9194
recoveryForm.get('email').touched && recoveryForm.get('email').invalid

src/app/reset-password/reset-password/reset-password.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<mat-card-subtitle role="heading" aria-level="2">
3030
<h2
3131
class="orc-font-body-small font-normal! mb-8 mt-0 text-left"
32-
i18n="@@reset.afterResettingYourPassword"
32+
i18n="@@reset.afterResetting"
3333
>
3434
After resetting your password you will be asked to sign in using your
3535
email address or ORCID iD and your new password.
@@ -52,7 +52,7 @@
5252
class="h-10! text-base!"
5353
(click)="save()"
5454
id="cy-save-password"
55-
i18n="@@reset.saveNewPassword"
55+
i18n="@@reset.saveYourNewPassword"
5656
>
5757
Save your new password
5858
</button>

src/locale/properties/password-recovery/password-recovery.en.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ngOrcid.passwordError=We couldn't recover your account details. Please try again
1616
ngOrcid.registerError=We couldn't complete your registration. Please try again, and if the error persists please
1717
recovery.resetYourPassword=Reset your password
1818
reset.afterResettingYourPassword=After resetting your password, you will be asked to sign in using your email address/ORCID iD and your new password.
19-
reset.afterResetting=After resetting your password, you will be asked to sign in using your email address or ORCID iD and your new password.
19+
reset.afterResetting=After resetting your password you will be asked to sign in using your email address or ORCID iD and your new password.
2020
reset.invalidPasswordResetToken=Your reset password link is invalid.
2121
reset.requestNewLink=Request a new link.
2222
reset.expiredPasswordResetToken=Your reset password link has expired.
@@ -27,15 +27,15 @@ reset.invalidLink=There is a problem with your password reset link
2727
reset.pleaseTryTheLinkAgain=Please try the link again. If this does not work you can request a new password reset link from
2828
reset.youCanRequestANewLink=You can request a new link from
2929
recovery.passwordAndIdRecovery=Password and iD recovery
30-
recovery.lostAccessToYourEmailAddresses=Lost access to your email address?
30+
recovery.lostAccessToYourEmailAddresses=Lost access to your email addresses?
3131
recovery.youCanAlwaysSignIn=You can always sign in to ORCID with your
3232
recovery.trySigningIn=Try signing in with your iD and password now
3333
recovery.16DigitOrcidId=16-digit ORCID iD
3434
recovery.accountPassword=account password
3535
recovery.instead=instead.
3636
recovery.whatHaveYouForgotten=What have you forgotten?
3737
recovery.myOrcidAccountPassword=my ORCID account password
38-
recovery.myOrcidId=my ORCID iD
38+
recovery.my16DigitOrcidId=my 16-digit ORCID iD
3939
recovery.whereShouldWeSend=Where should we send the recovery email?
4040
recovery.pleaseUseAnEmail=Please use an email address associated with your ORCID account.
4141
recovery.forExampleEmail=For example: joe@institution.edu

0 commit comments

Comments
 (0)